From 4723527133e158ba48bf5a1eb9eec731af2ae1f8 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 2 Feb 2018 09:43:33 -0500 Subject: 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 --- .../src/test/java/org/onap/policy/std/test/MatchStoreTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PolicyEngineAPI/src/test/java/org') 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 result = MatchStore.getMatchStore(); + Set result = MatchStore.getMatchStore(); // add additional test code here // An unexpected exception was thrown in user code while executing this test: -- cgit 1.2.3-korg