-
Notifications
You must be signed in to change notification settings - Fork 507
[rewrite] apply JavaLangAPIs #2804
#2810
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
| failOnDryRunResults = true | ||
| } | ||
| dependencies { | ||
| rewrite('org.openrewrite.recipe:rewrite-migrate-java:3.22.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.
sort
| name: com.diffplug.spotless.openrewrite.SanityCheck | ||
| displayName: Apply all Java & Gradle best practices | ||
| description: Comprehensive code quality recipe combining modernization, security, and best practices. | ||
| tags: |
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.
no need for this.
| - org.openrewrite.staticanalysis.RemoveUnusedLocalVariables | ||
| - org.openrewrite.staticanalysis.RemoveUnusedPrivateFields | ||
| - org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods | ||
| - org.openrewrite.staticanalysis.ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNull |
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 was "just" to see. its very specific, imho should go the simple way.
| - tech.picnic.errorprone.refasterrules.StreamRulesRecipes | ||
| - tech.picnic.errorprone.refasterrules.StringRulesRecipes | ||
| - tech.picnic.errorprone.refasterrules.TimeRulesRecipes | ||
| # - org.openrewrite.java.migrate.lang.FindVirtualThreadOpportunities # don't want to use: https://github.com/diffplug/spotless/pull/2684#discussion_r2433831887 |
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 was "just" to see. its very specific, imho should go the simple way.
39819f1 to
4fb4d9e
Compare
| # BUILDCACHE_USER | ||
| # BUILDCACHE_PASS | ||
| # - rw access to buildcache.diffplug.com | ||
|
|
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.
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.
|
ty. |
| - org.openrewrite.java.format.RemoveTrailingWhitespace | ||
| - org.openrewrite.java.migrate.UpgradeToJava17 | ||
| - org.openrewrite.java.migrate.lang.StringRulesRecipes | ||
| - org.openrewrite.java.migrate.util.JavaLangAPIs |
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.
thats actually wrong how could this pass ci..
Recipe validation error in com.diffplug.spotless.openrewrite.SanityCheck for property com.diffplug.spotless.openrewrite.SanityCheck.recipeList[13] (in file:/home/runner/work/spotless/spotless/rewrite.yml): recipe 'org.openrewrite.java.migrate.util.JavaLangAPIs' does not exist.
fixed in:


[rewrite] apply
JavaLangAPIs#2804as kindly requested: @Goooler