Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@knutwannheden
Copy link
Contributor

The recipe should distinguish between reading and modifying unary operators, as this may allow a few more fields to be made final.

The recipe should distinguish between reading and modifying unary operators, as this may allow a few more fields to be made final.
@knutwannheden
Copy link
Contributor Author

@kunli2 I took the liberty to make one small improvement to your recipe with regards to the handling of unary operators.

@sambsnyd sambsnyd merged commit 13d0f9d into openrewrite:main Jan 19, 2023
@sambsnyd
Copy link
Member

Thanks @knutwannheden !

@kunli2
Copy link
Contributor

kunli2 commented Jan 19, 2023

Thanks @knutwannheden !
good point, I just learned that -i is a J.Unary.

@knutwannheden knutwannheden deleted the finalfield-operator branch January 19, 2023 22:03
@sambsnyd sambsnyd added this to the 7.35.0 milestone Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants