aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-06-15 11:28:14 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-06-16 06:49:21 +0000
commitada10a6e126e7698b17f4a70de631f4478a10dca (patch)
tree37feb58251dee92f56b7a1ffd0b772b98d991f50 /openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src
parent14cee3ef2e286a9031a8fa35619f1a5d60616556 (diff)
Fix Sonar issues
Hide implicit public constructor in utility class Issue-ID: SDC-3116 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I4edd2ac37aab2fd587b5d46391dd669181385748
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src')
-rw-r--r--openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/datatypes/Constants.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/datatypes/Constants.java b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/datatypes/Constants.java
index c9f5548681..7c766e2dd2 100644
--- a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/datatypes/Constants.java
+++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/datatypes/Constants.java
@@ -18,7 +18,7 @@ package org.openecomp.core.converter.datatypes;
import java.io.File;
-public class Constants {
+public final class Constants {
public static final String mainStName = "MainServiceTemplate.yaml";
public static final String globalStName = "GlobalSubstitutionTypesServiceTemplate.yaml";
public static final String manifestFileName = "MainServiceTemplate.mf";
@@ -59,4 +59,9 @@ public class Constants {
public static final String globalSubstitution = "GlobalSubstitutionTypes";
public static final String externalFilesFolder = "External" + File.separator;
+
+ // prevent utility class instantiation
+ private Constants () {
+ }
+
}