Re: [PATCH JGIT] Method invokes inefficient new String(String) constructor
From: Shawn O. Pearce <hidden> Date: 2016-06-15 22:46:40
"Sohn, Matthias" [off-list ref] wrote:
Using the java.lang.String(String) constructor wastes memory because the
object so constructed will be functionally
indistinguishable from the String passed as a parameter. Just use the
argument String directly.