diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-12-08 11:49:24 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-12-08 11:49:37 +0530 |
commit | d5a662c40d5feb13810b2191eedcd34bde61fea3 (patch) | |
tree | e11d6978a1c26dc2d3878ce58080521ed4594b25 /template-node/provider/src | |
parent | d50787e5a9489bb69c28b4e40a3194ad713ef78e (diff) |
Sonar Fix: TemplateNode.java
Fixed sonar issues/code-smells across this file
Issue-ID: CCSDK-801
Change-Id: Ic1c7302faa64af37333335a8f4790af87195485d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'template-node/provider/src')
-rw-r--r-- | template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java b/template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java index 8a9676817..0b5850a0a 100644 --- a/template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java +++ b/template-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java @@ -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"; |