summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-30 15:01:31 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-30 15:01:31 +0000
commit55e781487d9da1c90f8e5f70d31190bd63c12995 (patch)
treee30af4a1e5fa18864517dab7bc0753497339443e
parent6d707150eb7a5c5fbcd3d400b8f478cb72c77674 (diff)
parent77453d83dd59f8baa5a00631f12aa328817fb196 (diff)
Merge "fixed sonar issue in AAIDeclarations.java"
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
index 4a3f9236..20f92656 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java
@@ -147,6 +147,8 @@ public abstract class AAIDeclarations implements AAIClient {
protected abstract Logger getLogger();
public abstract AAIExecutorInterface getExecutor();
+
+ private static final String RELATIONSHIP_DATA= "Retrofitting relationship data: ";
@Override
@@ -891,7 +893,7 @@ public abstract class AAIDeclarations implements AAIClient {
AAIServiceUtils.populateRelationshipDataFromPath(list);
}
} catch(Exception exc) {
- getLogger().debug("Retrofiting relationship data: " + exc.getMessage());
+ getLogger().debug(RELATIONSHIP_DATA + exc.getMessage());
}
String preFix;
@@ -1226,7 +1228,7 @@ public abstract class AAIDeclarations implements AAIClient {
try {
getRelationshipListMethod = resourceClass.getMethod("getRelationshipList");
} catch(Exception exc) {
- getLogger().debug("Retrofiting relationship data: " + exc.getMessage());
+ getLogger().debug(RELATIONSHIP_DATA + exc.getMessage());
}
if(getRelationshipListMethod != null){
@@ -1509,7 +1511,7 @@ public abstract class AAIDeclarations implements AAIClient {
try {
getRelationshipListMethod = resourceClass.getMethod("getRelationshipList");
} catch(Exception exc) {
- getLogger().debug("Retrofiting relationship data: " + exc.getMessage());
+ getLogger().debug(RELATIONSHIP_DATA + exc.getMessage());
}
if(getRelationshipListMethod != null){
try {
@@ -1798,7 +1800,7 @@ public abstract class AAIDeclarations implements AAIClient {
try {
getRelationshipListMethod = resourceClass.getMethod("getRelationshipList");
} catch(Exception exc) {
- getLogger().debug("Retrofiting relationship data: " + exc.getMessage());
+ getLogger().debug(RELATIONSHIP_DATA + exc.getMessage());
}
if(getRelationshipListMethod != null){
try {