Skip to content
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

[EC75] Useless rule - deprecation #246

Closed
csauldubois opened this issue Nov 23, 2023 · 1 comment · Fixed by #259
Closed

[EC75] Useless rule - deprecation #246

csauldubois opened this issue Nov 23, 2023 · 1 comment · Fixed by #259
Assignees
Labels
🗃️ rule rule improvment or rule development or bug java

Comments

@csauldubois
Copy link

Concatenated strings are automatically optimized by the compiler, in case of a single string or a string appended in a loop. This behaviour is described in the following page :

https://medium.com/javarevisited/java-compiler-optimization-for-string-concatenation-7f5237e5e6ed

Saying that, I think this rule is useless.

@dedece35 dedece35 self-assigned this Dec 3, 2023
@dedece35
Copy link
Member

dedece35 commented Dec 8, 2023

As confirmed with core-team, this rule will be deprecated soon because not applicable for Java since jdk8.
check status of PR #259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ rule rule improvment or rule development or bug java
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants