aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-09-28 04:40:23 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-28 04:40:23 +0000
commit6700a793821cebcafe28b124b49dcabff0eb4caa (patch)
tree384624683272d81cba033e6e5863275f09662396 /controlloop/common
parent6c961a99cf5ebb10776e0a961bf2196f03835d0d (diff)
parent7e3076dc28f4265db6b3bc6d1b693fe7801e80cd (diff)
Merge "Fix major sonar issues"
Diffstat (limited to 'controlloop/common')
-rw-r--r--controlloop/common/guard/src/main/java/org/onap/policy/guard/CallGuardTask.java2
-rw-r--r--controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java3
2 files changed, 4 insertions, 1 deletions
diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/CallGuardTask.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/CallGuardTask.java
index 8ea4ec1b3..87f43d701 100644
--- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/CallGuardTask.java
+++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/CallGuardTask.java
@@ -52,6 +52,8 @@ public class CallGuardTask implements Runnable {
requestId = reqId;
target = tar;
}
+
+ @Override
public void run() {
long startTime = System.nanoTime();
com.att.research.xacml.api.Request request = null;
diff --git a/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java b/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java
index ee2fc89fd..c4dbfffa4 100644
--- a/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java
+++ b/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java
@@ -33,7 +33,8 @@ public enum ResourceType {
this.type = type;
}
- public String toString() {
+ @Override
+ public String toString() {
return this.type;
}