aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-common/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorBharat saraswal <bharat.saraswal@huawei.com>2017-09-07 20:17:57 +0530
committerBharat saraswal <bharat.saraswal@huawei.com>2017-09-07 15:29:37 +0000
commit6b4fe7bc4517171f669fa990023acf8425656235 (patch)
tree11f6dcc32e5a36552c31373ff75dc7f5b291c4c2 /dcae-analytics-common/src/main/java/org/openecomp
parentffda9da363213907edd8a7cbc8078d02472e4f3a (diff)
Fix sonar dcae issues
Issue-Id:DCAEGEN2-94 Change-Id: I1bae3647dcaca134d1698a3e9987ca9802587e17 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
Diffstat (limited to 'dcae-analytics-common/src/main/java/org/openecomp')
-rw-r--r--dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java4
-rw-r--r--dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPComponentsConstants.java4
-rw-r--r--dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPMetricsConstants.java4
-rw-r--r--dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/cdap/settings/CDAPBaseAppConfig.java2
4 files changed, 14 insertions, 0 deletions
diff --git a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java
index 4294d6a..c12fa39 100644
--- a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java
+++ b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java
@@ -27,6 +27,10 @@ package org.openecomp.dcae.apod.analytics.common;
*/
public abstract class AnalyticsConstants {
+ //not meant to be instantiated
+ private AnalyticsConstants() {
+ }
+
// =============== Common Constants for all DCAE Analytics Modules ==================== //
diff --git a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPComponentsConstants.java b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPComponentsConstants.java
index ab39ee9..f830e3b 100644
--- a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPComponentsConstants.java
+++ b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPComponentsConstants.java
@@ -52,6 +52,10 @@ package org.openecomp.dcae.apod.analytics.common;
*/
public abstract class CDAPComponentsConstants {
+ //not meant to be instantiated
+ private CDAPComponentsConstants() {
+ }
+
// =============== Common Module Constants ==================== //
/**
diff --git a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPMetricsConstants.java b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPMetricsConstants.java
index 63ac7e0..87e8b6c 100644
--- a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPMetricsConstants.java
+++ b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/CDAPMetricsConstants.java
@@ -31,6 +31,10 @@ package org.openecomp.dcae.apod.analytics.common;
*/
public abstract class CDAPMetricsConstants {
+ //not meant to be instantiated
+ private CDAPMetricsConstants() {
+ }
+
/**
* Metric captures count of all responses received from DMaaP MR Subscriber Topic
*/
diff --git a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/cdap/settings/CDAPBaseAppConfig.java b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/cdap/settings/CDAPBaseAppConfig.java
index 38c882f..9269469 100644
--- a/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/cdap/settings/CDAPBaseAppConfig.java
+++ b/dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/cdap/settings/CDAPBaseAppConfig.java
@@ -47,6 +47,7 @@ public abstract class CDAPBaseAppConfig extends Config implements CDAPAppConfig
*
* @return CDAP application name
*/
+ @Override
public String getAppName() {
return appName;
}
@@ -56,6 +57,7 @@ public abstract class CDAPBaseAppConfig extends Config implements CDAPAppConfig
*
* @return CDAP application description
*/
+ @Override
public String getAppDescription() {
return appDescription;
}