geoserver/geoserver — pull request #505 by Konstantin-Surzhin (2014-02-28 10:11:44+00:00)
Title: I've removed inefficient new String(String) constructor

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.