aboutsummaryrefslogtreecommitdiffstats
path: root/integrity-monitor/src/test/java/org/onap
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-07-05 09:58:14 -0400
committerJim Hahn <jrh3@att.com>2019-07-05 09:58:14 -0400
commit376c6c4a5ba49d4c4876721f0adcad553ca66d0e (patch)
tree9724e50179bf098140833e57b965f16a25fd9be0 /integrity-monitor/src/test/java/org/onap
parent53f9550501ca1854318c1f552b0aba2e255b6748 (diff)
Fix sonar issues in Integrity Monitor
Fixed most sonar issues, except for code coverage. Change-Id: I473635d896797b2290920da86c6770848bc2e883 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'integrity-monitor/src/test/java/org/onap')
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java2
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java
index 0c4bfde1..79cfe549 100644
--- a/integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java
+++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/AllSeemsWellTest.java
@@ -42,9 +42,9 @@ public class AllSeemsWellTest extends IntegrityMonitorTestBase {
private static Logger logger = LoggerFactory.getLogger(AllSeemsWellTest.class);
- private static Properties myProp;
private static String resourceName;
+ private Properties myProp;
private Semaphore monitorSem;
private Semaphore junitSem;
diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java
index 3c36c5d6..1e194c3b 100644
--- a/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java
+++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTest.java
@@ -70,10 +70,10 @@ public class IntegrityMonitorTest extends IntegrityMonitorTestBase {
*/
private static final int DEPENDENCY_CHECK_CYCLES = 6;
- private static Properties myProp;
- private static EntityTransaction et;
private static String resourceName;
+ private Properties myProp;
+ private EntityTransaction et;
private Semaphore monitorSem;
private Semaphore junitSem;