From 6505fa1c845c34d59c44a40f87b66ef79f3e911c Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Aug 2018 09:45:44 -0400 Subject: Fixes for checkstyle issues More fixes for spacing, adding comments, adding period at the end, and move code closer to usage. Issue-ID: POLICY-881 Change-Id: Ife99eaf627a221e87d65d24dfd145b0ee4e06d21 Signed-off-by: Pamela Dragosh --- .../java/org/onap/policy/common/im/IntegrityMonitorTestBase.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTestBase.java') diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTestBase.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTestBase.java index adde768e..ba1fc344 100644 --- a/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTestBase.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/IntegrityMonitorTestBase.java @@ -22,6 +22,7 @@ package org.onap.policy.common.im; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; + import java.io.FileOutputStream; import java.io.IOException; import java.util.Properties; @@ -233,6 +234,8 @@ public class IntegrityMonitorTestBase { } /** + * Get saved factory. + * * @return the original integrity monitor factory */ static Factory getSavedFactory() { @@ -252,6 +255,8 @@ public class IntegrityMonitorTestBase { } /** + * Get current test time. + * * @return the "current" time, in milliseconds */ protected static long getCurrentTestTime() { @@ -272,7 +277,7 @@ public class IntegrityMonitorTestBase { /** * Waits for a semaphore to be acquired. * - * @param sem + * @param sem semaphore to wait on * @throws InterruptedException if the thread is interrupted * @throws AssertionError if the semaphore was not acquired within the allotted time */ -- cgit 1.2.3-korg