-
Notifications
You must be signed in to change notification settings - Fork 167
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
chore: Format for Java 17 instead of Java 5 #20185
Conversation
Is there something unclear with this? Planning to go back to Java 5? :) |
cb5dafd
to
c8f4321
Compare
No plans currently but we can consider if it's requested. There's some weird formatting in this PR like https://github.com/vaadin/flow/pull/20185/files#diff-47044a537fba8b2a6975f168bad9c93d53b03670a2337d51732880433b5dfbdeR77-R80 Also https://github.com/vaadin/flow/pull/20185/files#diff-c45aec1725063f2febff465083954b8eca10fa2b4e2de26a92ba949d57dfac5cR88-R93 is probably correct but previous version looked more clear, maybe it was not formatted before this PR? Edit: fixed the first one. Maybe the second one can be left as is. |
Yeah it's not clear why it changes the formatting in the second case you mentioned. The thing it is able to handle when set to Java 17 is records formatting, that is completely broken with Java 5 |
Quality Gate passedIssues Measures |
Hi @Artur- and @tepi, when i performed cherry-pick to this commit to 24.5, i have encountered the following issue. Can you take a look and pick it manually? |
Hi @Artur- and @tepi, when i performed cherry-pick to this commit to 24.4, i have encountered the following issue. Can you take a look and pick it manually? |
* chore: Format for Java 17 instead of Java 5 (#20185) (CP: 24.4) * format HasValidator.java --------- Co-authored-by: Teppo Kurki <[email protected]>
* chore: Format for Java 17 instead of Java 5 (#20185) (CP: 24.5) * format HasValidator.java --------- Co-authored-by: Teppo Kurki <[email protected]>
No description provided.