From d5a662c40d5feb13810b2191eedcd34bde61fea3 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Sat, 8 Dec 2018 11:49:24 +0530 Subject: Sonar Fix: TemplateNode.java Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-801 Change-Id: Ic1c7302faa64af37333335a8f4790af87195485d Signed-off-by: Arundathi Patil --- .../java/org/onap/ccsdk/sli/plugins/template/TemplateNode.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'template-node') 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"; -- cgit 1.2.3-korg