Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix in LicenseHeaderStep which treats address as copyright year #844

Merged
merged 2 commits into from
Apr 20, 2021

Conversation

bugsaw
Copy link
Contributor

@bugsaw bugsaw commented Apr 18, 2021

Should fix issue #716

Currently the method calculateYearBySearching looks for the second year
only to the end of the line. There is no need to search to the end of
the license file because it is easy to confuse other data with the year.

bugsaw added 2 commits April 18, 2021 20:17
Currently the method calculateYearBySearching looks for the second year
only to the end of the line. There is no need to search to the end of
the license file because it is easy to confuse other data with the year.
@nedtwigg nedtwigg merged commit cb071bb into diffplug:main Apr 20, 2021
@nedtwigg
Copy link
Member

Thanks! Published in plugin-gradle 5.12.2 and plugin-maven 2.10.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants