-
Notifications
You must be signed in to change notification settings - Fork 130
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
Issue #701: releasenotes builder: release version validation should work on digits #706
Issue #701: releasenotes builder: release version validation should work on digits #706
Conversation
private static boolean isMinor(long amountOfCommas) { | ||
return amountOfCommas == 1; | ||
private static boolean endsWithZero(String str) { | ||
return !str.isEmpty() && str.charAt(str.length() - 1) == '0'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that this method sounds redundant and we could have used built-in str.endsWith("0")
but Intellij suggests using this instead so I went with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items:
...senotes-builder/src/test/resources/com/github/checkstyle/githubPageBreakingCompatibility.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok to merge
@romani ping! |
Removed |
No idea where those attach_pid files pop from but it happens pretty often and only when working on this project. |
we can add it to https://github.com/checkstyle/contribution/blob/master/.gitignore to not bother us next time |
Yes, I do use IntelliJ IDEA, thanks for the information! I see other projects having it in their |
Resolves #701
For the manual test I modified the script to be pointing to this branch and changed
CS_RELEASE_VERSION
to10.5.0
. Runs with no errors: https://github.com/stoyanK7/checkstyle/commit/dee3811dd6eb71765ccf3bc085763cfdf876042bIf I change
CS_RELEASE_VERSION
to10.5.1
, it is failing as expected.