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 #12443: Fix null pointer exception on config value with trailin… #12444
Conversation
345dbfb
to
bc9e972
Compare
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
Should be merged before Sunday, to release this fix sooner |
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.
#12443 (comment)
I am seeing 3 trims removed, but only 2 fixes here.
Third trim does not need to be replaced, trim is called on argument in method. checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/AccessModifierOption.java Lines 65 to 67 in 276263b
|
Do we have a similar test to show it is not needed? |
This is where the other trim was located: 3080013#r90853229 Which calls checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/AccessModifierOption.java Lines 65 to 67 in 276263b
I can add another tab in config like this: |
96b89f6
to
849d41b
Compare
@rnveach test case is added |
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.
One minor, rest LGTM :)
...uppycrawl/tools/checkstyle/checks/coding/illegaltype/InputIllegalTypeWhitespaceInConfig.java
Outdated
Show resolved
Hide resolved
There is no test case like this in the other PR. |
…th trailing whitespace
849d41b
to
4cbb5ec
Compare
Linking discussion here: #12340 (comment) Exaplanation from link above:
|
closes #12443