Remove redundant String constructor calls
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / bpmn / common / recipe / BpmnRestClient.java
index 446de10..e43af18 100644 (file)
@@ -129,7 +129,7 @@ public class BpmnRestClient {
             if(encryptedCredentials != null) {\r
                 String userCredentials = getEncryptedPropValue(encryptedCredentials, DEFAULT_BPEL_AUTH, ENCRYPTION_KEY);\r
                 if(userCredentials != null) {\r
-                    post.addHeader("Authorization", "Basic " + new String(DatatypeConverter.printBase64Binary(userCredentials.getBytes())));\r
+                    post.addHeader("Authorization", "Basic " + DatatypeConverter.printBase64Binary(userCredentials.getBytes()));\r
                 }\r
             }\r
         }\r