On Wed, 8 Sep 2021 09:49:25 GMT, Andrey Turbanov 
<[email protected]> wrote:

>> 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.
>
> Andrey Turbanov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8273375: Remove redundant 'new String' calls after concatenation in 
> java.desktop
>   post-review

Marked as reviewed by aivanov (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/5356

Reply via email to