GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [rewrite] apply `JavaLangAPIs` #2804 by Pankraz76 · Pull Request #2810 · diffplug/spotless

[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.

Sign up for GitHub

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

Merged
Goooler merged 1 commit into diffplug:main from Pankraz76:JavaLangAPIs
Jan 10, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

[rewrite] apply JavaLangAPIs #2804 #2810

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1 commit
Select commit
4fb4d9e
[rewrite] apply `JavaLangAPIs` #2804
Pankraz76 Jan 10, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

8 changes: 4 additions & 4 deletions 8 .github/workflows/ci.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BUILDCACHE_USER
# BUILDCACHE_PASS
# - rw access to buildcache.diffplug.com

Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

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 :)

  • image
  • Image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@Pankraz76 Pankraz76 Jan 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

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.

🕊️

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
name: CI 🏭
on:
pull_request:
push:
Expand All @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true
jobs:
sanity-check:
name: SanityCheck
name: Sanity Check 🦢
runs-on: ubuntu-latest
env:
buildcacheuser: ${{ secrets.BUILDCACHE_USER }}
Expand All @@ -29,9 +29,9 @@ jobs:
java-version: 21
- name: gradle caching
uses: gradle/actions/setup-gradle@v5
- name: spotlessCheck
- name: Spotless ✨
run: ./gradlew spotlessCheck
- name: rewriteDryRun
- name: Rewrite ♻️
run: ./gradlew rewriteDryRun
- name: assemble testClasses
run: ./gradlew assemble testClasses
Expand Down
2 changes: 1 addition & 1 deletion 2 gradle/rewrite.gradle
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ rewrite {
failOnDryRunResults = true
}
dependencies {
rewrite('org.openrewrite.recipe:rewrite-migrate-java:3.22.0')
Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026

Copy link
Copy Markdown
Author

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
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')
Expand Down
8 changes: 1 addition & 7 deletions 8 rewrite.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026

Copy link
Copy Markdown
Author

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
- java
- gradle
- static-analysis
- cleanup
recipeList:
- org.openrewrite.gradle.EnableGradleBuildCache
- org.openrewrite.gradle.EnableGradleParallelExecution
Expand All @@ -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
Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

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.
  • https://github.com/diffplug/spotless/actions/runs/20880949358/job/59997173981?pr=2812

fixed in:

  • [rewrite] add CodeCleanup #2812

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
- org.openrewrite.java.migrate.util.JavaUtilAPIs
- org.openrewrite.java.migrate.util.MigrateInflaterDeflaterToClose
- org.openrewrite.java.migrate.util.ReplaceStreamCollectWithToList
Expand All @@ -38,7 +34,6 @@ recipeList:
- org.openrewrite.staticanalysis.RemoveUnusedLocalVariables
- org.openrewrite.staticanalysis.RemoveUnusedPrivateFields
- org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods
- org.openrewrite.staticanalysis.ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNull
Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026

Copy link
Copy Markdown
Author

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
- org.openrewrite.staticanalysis.SimplifyTernaryRecipes
- org.openrewrite.staticanalysis.URLEqualsHashCodeRecipes
- org.openrewrite.staticanalysis.UnnecessaryCloseInTryWithResources
Expand All @@ -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
Comment thread

@Pankraz76 Pankraz76 Jan 10, 2026

Copy link
Copy Markdown
Author

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
---
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.