Sonar Fix: TemplateNode.java 31/74431/1
authorArundathi Patil <arundpil@in.ibm.com>
Sat, 8 Dec 2018 06:19:24 +0000 (11:49 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Sat, 8 Dec 2018 06:19:37 +0000 (11:49 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-801
Change-Id: Ic1c7302faa64af37333335a8f4790af87195485d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java

index 8a96768..0b5850a 100644 (file)
@@ -4,6 +4,7 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                     reserved.
+ * Modifications Copyright © 2018 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -37,9 +38,9 @@ import org.slf4j.LoggerFactory;
 
 public class TemplateNode implements SvcLogicJavaPlugin {
     private static final Logger logger = LoggerFactory.getLogger(TemplateNode.class);
-    public final static String TEMPLATE_PATH = "templatePath";
-    public final static String OUTPUT_PATH_KEY = "output";
-    public final static String PREFIX_KEY = "prefix";
+    public static final String TEMPLATE_PATH = "templatePath";
+    public static final String OUTPUT_PATH_KEY = "output";
+    public static final String PREFIX_KEY = "prefix";
     public final static String REQUIRED_PARAMETERS_ERROR_MESSAGE = "templateName & outputPath are required fields";
     protected static final String TEMPLATE_PROPERTIES_FILE_NAME = "template-node.properties";
     protected static final String DEFAULT_PROPERTIES_DIR = "/opt/onap/ccsdk/data/properties";