diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-08-13 14:39:43 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-08-13 14:39:50 -0400 |
commit | 2d381afcd78b61d8791ace22b676e88271b3bdce (patch) | |
tree | bfddd966d78d1683ca01124d00b1799389ade500 /utils/src/main/java/org/onap/policy/common/utils/time | |
parent | 269e543ba89dbf553fc66227f7123a302f56b5b4 (diff) |
Fix checkstyle in utils
Cleared all the checkstyle in these 2 submodules.
Issue-ID: POLICY-881
Change-Id: I248e1894aebf549d5a4f8669a6466ec227d40b55
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'utils/src/main/java/org/onap/policy/common/utils/time')
-rw-r--r-- | utils/src/main/java/org/onap/policy/common/utils/time/CurrentTime.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/src/main/java/org/onap/policy/common/utils/time/CurrentTime.java b/utils/src/main/java/org/onap/policy/common/utils/time/CurrentTime.java index cab469e5..857b69b6 100644 --- a/utils/src/main/java/org/onap/policy/common/utils/time/CurrentTime.java +++ b/utils/src/main/java/org/onap/policy/common/utils/time/CurrentTime.java @@ -29,6 +29,7 @@ import java.util.Date; public class CurrentTime { /** + * Constructor. * */ public CurrentTime() { @@ -36,6 +37,8 @@ public class CurrentTime { } /** + * Get the millisecond time. + * * @return the current time, in milliseconds */ public long getMillis() { @@ -43,6 +46,8 @@ public class CurrentTime { } /** + * Get the current date. + * * @return the current Date */ public Date getDate() { @@ -53,7 +58,7 @@ public class CurrentTime { * Sleeps for a period of time. * * @param sleepMs amount of time to sleep, in milliseconds - * @throws InterruptedException + * @throws InterruptedException can be interrupted */ public void sleep(long sleepMs) throws InterruptedException { Thread.sleep(sleepMs); |