aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-common
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-09-12 12:37:28 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-12 12:37:28 +0000
commit59fbb5006de8ebb6034afec88458a625a0394857 (patch)
tree68f83a734a91e8272259aadf64233294eeca58fb /dcae-analytics-common
parent07955be6345cd574488c0c3841930bd32427d2f7 (diff)
parent6b4fe7bc4517171f669fa990023acf8425656235 (diff)
Merge "Fix sonar dcae issues"HEADmaster
Diffstat (limited to 'dcae-analytics-common')
-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;
}