summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantosh Yadav <santosh.k.yadav@ril.com>2018-02-05 11:38:43 +0530
committerSantosh Yadav <santosh.k.yadav@ril.com>2018-02-05 11:45:05 +0530
commit9cbebfa82410d1b2c1465f371ee2c1f96d2fa7ea (patch)
tree3770d53e26b617f5a1636aad4275fbf0902650f6
parent2b7ca146c7a12e00671269611a39dfc829acb810 (diff)
sonar bug fix: make fields final
marked fields final src/.../vfc/nfvo/emsdriver/commons/constant/Constant.java Issue-ID: VFC-733 Change-Id: Ib965a5109da6db3dccca71c87c0f3620657677da Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>
-rw-r--r--ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/constant/Constant.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/constant/Constant.java b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/constant/Constant.java
index c54b96a..820b88f 100644
--- a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/constant/Constant.java
+++ b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/constant/Constant.java
@@ -27,15 +27,15 @@ public class Constant {
//alarm
public static final int READ_TIMEOUT_MILLISECOND = 180000;
public static final long ONEMINUTE = 60000;
- public static String SYS_HOME = System.getenv("RUNHOME") == null ? System.getProperty("user.dir") : System.getenv("RUNHOME");
- public static String SYS_CFG = SYS_HOME + File.separator + "conf" + File.separator;
- public static String SYS_DATA = SYS_HOME + File.separator + "data" + File.separator;
- public static String SYS_DATA_TEMP = SYS_DATA + File.separator + "temp" + File.separator;
- public static String SYS_DATA_RESULT = SYS_DATA + File.separator + "RESULT" + File.separator;
- public static String COLLECT_TYPE_CM = "EMS_RESOUCE";
- public static String COLLECT_TYPE_PM = "EMS_PERFORMANCE";
- public static String COLLECT_TYPE_ALARM = "EMS_ALARM";
- public static String ENCODING_UTF8 = "UTF-8";
- public static String ENCODING_GBK = "GBK";
+ public static final String SYS_HOME = System.getenv("RUNHOME") == null ? System.getProperty("user.dir") : System.getenv("RUNHOME");
+ public static final String SYS_CFG = SYS_HOME + File.separator + "conf" + File.separator;
+ public static final String SYS_DATA = SYS_HOME + File.separator + "data" + File.separator;
+ public static final String SYS_DATA_TEMP = SYS_DATA + File.separator + "temp" + File.separator;
+ public static final String SYS_DATA_RESULT = SYS_DATA + File.separator + "RESULT" + File.separator;
+ public static final String COLLECT_TYPE_CM = "EMS_RESOUCE";
+ public static final String COLLECT_TYPE_PM = "EMS_PERFORMANCE";
+ public static final String COLLECT_TYPE_ALARM = "EMS_ALARM";
+ public static final String ENCODING_UTF8 = "UTF-8";
+ public static final String ENCODING_GBK = "GBK";
}