Cleanup: redudant new String()

This commit is contained in:
Mathis Chenuet
2015-01-28 20:00:00 +00:00
committed by Laurent Clouet
parent 7a0c266dc1
commit bda6691159
2 changed files with 3 additions and 3 deletions

View File

@@ -352,7 +352,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
ns = job_node.getElementsByTagName("script");
if (ns.getLength() != 0) {
Element a_node3 = (Element) ns.item(0);
script += new String(a_node3.getTextContent());
script += a_node3.getTextContent();
}
}
catch (Exception e) {