-
Couldn't load subscription status.
- Fork 488
[prone] Apply UnnecessaryLambda
#2696
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
Conversation
e0be7f1 to
1a3e9fc
Compare
| 'Slf4jLogStatement', | ||
| 'MissingSummary', | ||
| // patchable | ||
| 'LexicographicalAnnotationAttributeListing', |
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.
now its working as we have enabled convention. the warnings does not break the build somehow.
| 'NonStaticImport', | ||
| 'Slf4jLoggerDeclaration', // logger -> log | ||
| 'StaticImport', | ||
| // critical, finds lots of bugs... unused configs and stuff. |
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.
too much risk and too big. Some extension maven stuff might be unused in code but break on production.
bab19d1 to
104ac8c
Compare
104ac8c to
aff83f8
Compare
aff83f8 to
1780080
Compare
| " encoding 'US-ASCII'", | ||
| "}"); | ||
| setFile("test.java").toContent("µ"); | ||
| gradleRunner().withArguments("spotlessApply").buildAndFail().getOutput().contains("Encoding error!"); |
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.
use or loose. Should we check this or adapt the test by removing or inverting this?
Should we extract the ReturnValueIgnored recipe?
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 am baffled by this one. The old test was wrong, but the new one looks wrong too. It would be nice to make this test better while we're in here, but I don't want it to hold up the rest.
1780080 to
746f0b5
Compare
c05bbc2 to
bf59f74
Compare
bf59f74 to
adb2dd3
Compare
UnusedMethodnot recognize JunitMethodSourcegoogle/error-prone#5289ReturnValueIgnored: