aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorVijay VK <vv770d@att.com>2018-03-08 02:15:28 +0000
committerVENKATESH KUMAR <vv770d@att.com>2018-03-07 21:16:17 -0500
commit5c93b25a22f19f157d5088595655ac818744a42b (patch)
treee3b506cf6f7dead0713e856da0663f05819ac5ce /src/main/java
parent2dbdeb02a159d3c821aa76ab2b4086b38f3a2680 (diff)
sonar complaince updates
Change-Id: I3f1bee6b9ff072528246186a73ee5133f9a918aa Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-388
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java b/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java
index 4fb5adf0..40fecd02 100644
--- a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java
+++ b/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java
@@ -71,7 +71,7 @@ public class ConfigProcessors {
- public String evaluate(String str) {
+ private String evaluate(String str) {
String value = str;
if (str.startsWith("$")) {
value = (String) getEventObjectVal(str.substring(1));
@@ -137,7 +137,7 @@ public class ConfigProcessors {
}
- public void renameArrayInArray(JSONObject J) // map
+ private void renameArrayInArray(JSONObject J) // map
{
log.info("renameArrayInArray");
final String field = J.getString(FIELD);
@@ -183,7 +183,7 @@ public class ConfigProcessors {
mapAttribute(J);
}
- public String performOperation(String operation, String value) {
+ private String performOperation(String operation, String value) {
log.info("performOperation");
if (operation != null) {
if (operation.equals("convertMBtoKB")) {
@@ -220,7 +220,7 @@ public class ConfigProcessors {
}
- public void mapToJArray(JSONObject J) {
+ private void mapToJArray(JSONObject J) {
log.info("mapToJArray");
String field = J.getString(FIELD);
String oldField = J.getString(OLD_FIELD);
@@ -549,4 +549,3 @@ public class ConfigProcessors {
private JSONObject event = new JSONObject();
}
-