-
Notifications
You must be signed in to change notification settings - Fork 14.9k
MINOR: Add SanityCheck #21165 [S3599]
#21168
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
MINOR: Add SanityCheck #21165 [S3599]
#21168
Conversation
| ); | ||
| } | ||
|
|
||
| private static boolean matchingTopic(ShareAcknowledgeResponseData.ShareAcknowledgeTopicResponse previousTopic, TopicIdPartition currentTopic) { |
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.
this now being the only one unused.
Asking to include here to make, or dedicate/extract?
Sanity Check made to be generic and still individual.
| id 'org.openrewrite.rewrite' version '7.22.0' apply false | ||
| id 'org.owasp.dependencycheck' version '12.1.8' | ||
| id 'org.nosphere.apache.rat' version "0.8.1" | ||
| id "io.swagger.core.v3.swagger-gradle-plugin" version "${swaggerVersion}" |
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.
if desired will undo.
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 for the cleanup. Like it.
| id 'com.gradleup.shadow' version '8.3.9' apply false | ||
| id 'io.swagger.core.v3.swagger-gradle-plugin' version "${swaggerVersion}" | ||
| id 'org.nosphere.apache.rat' version '0.8.1' | ||
| id 'org.openrewrite.rewrite' version '7.22.0' apply false |
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.
just wanted to align and give natural order.
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.
If I read this correctly, org.openrewrite.rewrite is newly added? Others are just reordered.
I am not familiar with this package. Curious to hear from others about 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.
correct.
This versatile SCA tool is already running in checkstyle and spotless.
Highly welcome any feedback, thx.
47374c7 to
247a78a
Compare
…apache.kafka.openrewrite.SanityCheck` apache#21165 Signed-off-by: Vincent Potucek <[email protected]>
247a78a to
57eb038
Compare
…ache#21161 apache#21168 Signed-off-by: Vincent Potucek <[email protected]>
…ache#21161 apache#21168 Signed-off-by: Vincent Potucek <[email protected]>
|
it seems this pr is related as well: |
NoDoubleBraceInitialization Introduce org.apache.kafka.openrewrite.SanityCheck #21165 SanityCheck#NoDoubleBraceInitialization #21165 [S3599]
SanityCheck#NoDoubleBraceInitialization #21165 [S3599] SanityCheck #21165 [S3599]
…SPEC-S1488] - https://sonarsource.github.io/rspec/#/rspec/S1488 - https://docs.openrewrite.org/recipes/staticanalysis/inlinevariable Signed-off-by: Vincent Potucek <[email protected]>
…SPEC-S1488] - https://sonarsource.github.io/rspec/#/rspec/S1488 - https://docs.openrewrite.org/recipes/staticanalysis/inlinevariable Signed-off-by: Vincent Potucek <[email protected]>
|
reopen after enabler: |
…che#21149 Signed-off-by: Vincent Potucek <[email protected]>
MINOR: Add
SanityCheck#21165 [S3599]According to @mjsax:
Apply convention principle for:
https://docs.openrewrite.org/recipes/staticanalysis/nodoublebraceinitialization
Kindly asking, if this is any good?
Thanks for effort given.