-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Issue #14194: Add LexicographicalAnnotationListing
#17892
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
2e42eff to
e3302cb
Compare
rickie
left a comment
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.
Although sorting is good to do, we used the approach of enabling simply 1 check per pull request. We should probably do the same approach.
Additionally there should be some form of discussion on which rules to enable before simply doing it.
pom.xml
Outdated
| -Xep:RedundantStringConversion:ERROR | ||
| -Xep:RedundantStringEscape:ERROR | ||
| -Xep:Slf4jLogStatement:ERROR | ||
| -Xep:StaticImport: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.
Can drop this if we in the line after simply turn it off again.
pom.xml
Outdated
| -Xep:MockitoMockClassReference:ERROR | ||
| -Xep:MockitoStubbing:ERROR | ||
| -Xep:NestedOptionals:ERROR | ||
| -Xep:NonEmptyMono: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.
NonEmptyMono is a check for Reactor code, that's not necessary for this codebase.
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.
we found it conveninent to reference all validaiton modules that tool provides and just doe OFF for some rules and having comment above to explain why not use it.
in this case even in few years we can check list of used rules against tool documentation and see what is missed to be activated and what is deactivated for a reason.
e3302cb to
6022860
Compare
rickie
left a comment
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.
🚀
|
@Pankraz76 , please fix other violations and we good to merge. |
6022860 to
890d488
Compare
890d488 to
334aba8
Compare
|
We really need to address the patching process afterward to avoid the added price for this feature. We should improve acceptance through automation. |
|
thanks for the quick-win. |
romani
left a comment
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.
Thanks a lot for keeping PR small and single point of fix, it helps a lot to accept it quickly
Issue #14194: Add
LexicographicalAnnotationListingrelates to:
LexicographicalAnnotationAttributeListingjunit-team/junit-framework#5043