diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-22 07:51:12 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-22 07:52:42 -0400 |
commit | f18fbfc026de9cf02126f57844c37abfee607394 (patch) | |
tree | 86df38a6a75bf4dd268a959ac2ec15269a1c4351 /ONAP-SDK-APP | |
parent | 18998fee10abecb2ff1b2cdc3b99a3115d7de77c (diff) |
Remove useless imports and vars
Some formatting and javadoc cleanup also.
Issue-ID: POLICY-2133
Change-Id: Icb0f76c7e69df87918b4bc5a02a013f9d2bfae89
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ONAP-SDK-APP')
-rw-r--r-- | ONAP-SDK-APP/src/test/java/org/onap/portalapp/scheduler/RegisterTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ONAP-SDK-APP/src/test/java/org/onap/portalapp/scheduler/RegisterTest.java b/ONAP-SDK-APP/src/test/java/org/onap/portalapp/scheduler/RegisterTest.java index 675a87e43..68454112d 100644 --- a/ONAP-SDK-APP/src/test/java/org/onap/portalapp/scheduler/RegisterTest.java +++ b/ONAP-SDK-APP/src/test/java/org/onap/portalapp/scheduler/RegisterTest.java @@ -40,8 +40,8 @@ public class RegisterTest { triggers.add(trigger); register.setScheduleTriggers(triggers); - assertEquals(register.getScheduleTriggers(), triggers); - assertEquals(register.getTriggers().length, 1); + assertEquals(triggers, register.getScheduleTriggers()); + assertEquals(1, register.getTriggers().length); } @Test(expected = NullPointerException.class) @@ -54,7 +54,6 @@ public class RegisterTest { @Test(expected = NullPointerException.class) public void testRegisterNegativeCase2() { // Setup test data - String value = "testVal"; Register register = new Register(); List<Trigger> triggers = new ArrayList<Trigger>(); register.setScheduleTriggers(triggers); |