-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,8 +21,8 @@ rewrite { | |
| failOnDryRunResults = true | ||
| } | ||
| dependencies { | ||
| rewrite('org.openrewrite.recipe:rewrite-migrate-java:3.22.0') | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sort |
||
| rewrite('org.openrewrite.recipe:rewrite-java-security:3.22.0') | ||
| rewrite('org.openrewrite.recipe:rewrite-migrate-java:3.22.0') | ||
| rewrite('org.openrewrite.recipe:rewrite-rewrite:0.16.0') | ||
| rewrite('org.openrewrite.recipe:rewrite-static-analysis:2.22.0') | ||
| rewrite('org.openrewrite.recipe:rewrite-third-party:0.31.2') | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,11 +3,6 @@ type: specs.openrewrite.org/v1beta/recipe | |
| 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: | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no need for this. |
||
| - java | ||
| - gradle | ||
| - static-analysis | ||
| - cleanup | ||
| recipeList: | ||
| - org.openrewrite.gradle.EnableGradleBuildCache | ||
| - org.openrewrite.gradle.EnableGradleParallelExecution | ||
|
|
@@ -18,6 +13,7 @@ recipeList: | |
| - org.openrewrite.java.format.RemoveTrailingWhitespace | ||
| - org.openrewrite.java.migrate.UpgradeToJava17 | ||
| - org.openrewrite.java.migrate.lang.StringRulesRecipes | ||
| - org.openrewrite.java.migrate.util.JavaLangAPIs | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thats actually wrong how could this pass ci.. fixed in: |
||
| - org.openrewrite.java.migrate.util.JavaUtilAPIs | ||
| - org.openrewrite.java.migrate.util.MigrateInflaterDeflaterToClose | ||
| - org.openrewrite.java.migrate.util.ReplaceStreamCollectWithToList | ||
|
|
@@ -38,7 +34,6 @@ recipeList: | |
| - org.openrewrite.staticanalysis.RemoveUnusedLocalVariables | ||
| - org.openrewrite.staticanalysis.RemoveUnusedPrivateFields | ||
| - org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods | ||
| - org.openrewrite.staticanalysis.ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNull | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| - org.openrewrite.staticanalysis.SimplifyTernaryRecipes | ||
| - org.openrewrite.staticanalysis.URLEqualsHashCodeRecipes | ||
| - org.openrewrite.staticanalysis.UnnecessaryCloseInTryWithResources | ||
|
|
@@ -63,5 +58,4 @@ recipeList: | |
| - 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 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| --- | ||
Uh oh!
There was an error while loading. Please reload this page.
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 would help to avoid a lot of noice.
of course the icons are open to debate, im sure you request to remove for the same reason :)
Uh oh!
There was an error while loading. Please reload this page.
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.
@nedtwigg let me know if i should adjust or remove the icons. Thanks
@romani see how nice it can be. nice and shiny what check and spot is all about.
🕊️