We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
(Coming from https://rewriteoss.slack.com/archives/C01A843MWG5/p1746783424812409?thread_ts=1746773248.912599&cid=C01A843MWG5)
I use Java 24. There, JEP 456: Unnamed Variables & Patterns is supported very well.
Example:
- this.customizeExpertSettings.addListener((observableValue, oldValue, newValue) -> + this.customizeExpertSettings.addListener((_, _, newValue) ->
Full example of our prject: https://github.com/JabRef/jabref/pull/13084/files
Variable unused.
Variable not used in a lambda input
Variable replaced by _
_
Following IntelliJs auto marking as gray and replacing by _.
If I only had time...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
(Coming from https://rewriteoss.slack.com/archives/C01A843MWG5/p1746783424812409?thread_ts=1746773248.912599&cid=C01A843MWG5)
What problem are you trying to solve?
I use Java 24. There, JEP 456: Unnamed Variables & Patterns is supported very well.
Example:
Full example of our prject: https://github.com/JabRef/jabref/pull/13084/files
What precondition(s) should be checked before applying this recipe?
Variable unused.
Describe the situation before applying the recipe
Variable not used in a lambda input
Describe the situation after applying the recipe
Variable replaced by
_
Have you considered any alternatives or workarounds?
Following IntelliJs auto marking as gray and replacing by
_
.Any additional context
Are you interested in contributing this recipe to OpenRewrite?
If I only had time...
The text was updated successfully, but these errors were encountered: