First part of onap rename
[appc.git] / appc-common / src / main / java / org / openecomp / appc / util / MessageFormatter.java
index 39c9a67..44095fb 100644 (file)
@@ -1,10 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * openECOMP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights
- *                                             reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ * 
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
 
-package org.openecomp.appc.util;
+package org.onap.appc.util;
 
 import org.apache.commons.lang3.StringUtils;
 
@@ -44,14 +47,6 @@ public class MessageFormatter {
             for (Map.Entry<String, Object> entry : params.entrySet()) {
                 formattedMessage = formattedMessage.replaceAll("\\$\\{" + entry.getKey() + "\\}", String.valueOf(entry.getValue()));
             }
-/*        } else {
-            StringBuilder builder = new StringBuilder(formattedMessage);
-            builder.append("; output params: [");
-            for (Map.Entry<String, Object> entry : params.entrySet()) {
-                builder.append(entry.getKey()).append(":").append(String.valueOf(entry.getValue())).append("; ");
-            }
-            builder.append("]");
-            formattedMessage = builder.toString();*/
         }
 
         return formattedMessage;