-
Bug
-
Resolution: Fixed
-
P5
-
17, 18
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8274375 | 17.0.2 | Olga Mikhaltcova | P5 | Resolved | Fixed | b01 |
Result of string concatenation is a newly created String object. There is no need it wrap it in another 'new String' call.
Such calls are confusing and produce warnings in IDE. Without them code is easier to read.
Such calls are confusing and produce warnings in IDE. Without them code is easier to read.
- backported by
-
JDK-8274375 Remove redundant 'new String' calls after concatenation in java.desktop
-
- Resolved
-