aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/test/java
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-02-02 09:43:33 -0500
committerPamela Dragosh <pdragosh@research.att.com>2018-02-02 09:45:19 -0500
commit4723527133e158ba48bf5a1eb9eec731af2ae1f8 (patch)
tree01e55e3fba2b9f849435ea3a82cfa903c323ea3b /PolicyEngineAPI/src/test/java
parente8c14515d3f48aad6d42a31d7489a3ef25557f2d (diff)
Technical debt reduction
* empty constructor * Unnecessary imports * try-with-resources * missing @Override * useless parens * proper boolean detection * useless imports * Use Set vs HashSet * moving statements to separate lines Issue-ID: POLICY-477 Change-Id: I5fae9c5c8e7d30f731a1caefc8a5271cf382e0a0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'PolicyEngineAPI/src/test/java')
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java
index e4116db1d..f5a86d17d 100644
--- a/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java
@@ -23,8 +23,8 @@ package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
-import java.util.HashSet;
import java.util.Hashtable;
+import java.util.Set;
import org.junit.After;
import org.junit.Before;
@@ -373,7 +373,7 @@ public class MatchStoreTest {
public void testGetMatchStore_1()
throws Exception {
- HashSet<Matches> result = MatchStore.getMatchStore();
+ Set<Matches> result = MatchStore.getMatchStore();
// add additional test code here
// An unexpected exception was thrown in user code while executing this test: