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

Conversation

@Pankraz76

@Pankraz76 Pankraz76 commented Jan 10, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

[rewrite] apply JavaLangAPIs #2804

as kindly requested: @Goooler

  • 5e4da27#r174255987

Sorry, something went wrong.

Uh oh!

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

All reactions
Pankraz76
Pankraz76 commented Jan 10, 2026
View reviewed changes
Comment thread gradle/rewrite.gradle
failOnDryRunResults = true
}
dependencies {
rewrite('org.openrewrite.recipe:rewrite-migrate-java:3.22.0')

@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
Comment thread rewrite.yml
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:

@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
Comment thread rewrite.yml
- org.openrewrite.staticanalysis.RemoveUnusedLocalVariables
- org.openrewrite.staticanalysis.RemoveUnusedPrivateFields
- org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods
- org.openrewrite.staticanalysis.ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNull

@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
Comment thread rewrite.yml
- 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

@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
@Pankraz76
Pankraz76 marked this pull request as ready for review January 10, 2026 12:45
@Pankraz76
[rewrite] apply JavaLangAPIs diffplug#2804
4fb4d9e
@Pankraz76
Pankraz76 force-pushed the JavaLangAPIs branch from 39819f1 to 4fb4d9e Compare January 10, 2026 13:02
Pankraz76
Pankraz76 commented Jan 10, 2026
View reviewed changes
Comment thread .github/workflows/ci.yml
# BUILDCACHE_USER
# BUILDCACHE_PASS
# - rw access to buildcache.diffplug.com

@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
@Pankraz76 Pankraz76 mentioned this pull request Jan 10, 2026
MINOR: Add RemoveUnusedPrivateMethods #21165 #21168 #21149 apache/kafka#21269
Closed
Goooler
Goooler approved these changes Jan 10, 2026
View reviewed changes
@Goooler
Goooler merged commit 284bb6e into diffplug:main Jan 10, 2026
@Pankraz76

Pankraz76 commented Jan 10, 2026

Copy link
Copy Markdown
Author

ty.

All reactions

Sorry, something went wrong.

Uh oh!

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

Pankraz76
Pankraz76 commented Jan 10, 2026
View reviewed changes
Comment thread rewrite.yml
- org.openrewrite.java.format.RemoveTrailingWhitespace
- org.openrewrite.java.migrate.UpgradeToJava17
- org.openrewrite.java.migrate.lang.StringRulesRecipes
- org.openrewrite.java.migrate.util.JavaLangAPIs

@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
Pankraz76 added a commit to Pankraz76/spotless-frk that referenced this pull request Jan 11, 2026
@Pankraz76
[rewrite] fix JavaLangAPIs diffplug#2804 (diffplug#2810)
ee6b28d
@Pankraz76 Pankraz76 mentioned this pull request Jan 11, 2026
[rewrite] add CodeCleanup #2813
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@Goooler Goooler Goooler approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

2 participants

@Pankraz76 @Goooler
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.