diff options
author | Gary Gregory <garydgregory@gmail.com> | 2022-03-07 15:36:13 -0500 |
---|---|---|
committer | Gary Gregory <garydgregory@gmail.com> | 2022-03-07 15:36:13 -0500 |
commit | b02dad440f14b56250c60bfcee96cb6f94469be8 (patch) | |
tree | 0f66c2820dabb54c2eb43eeca997ccc343909fb3 | |
parent | 749062a6c0920ff5aed91842e9f7dcfd3c6b2f9c (diff) | |
download | apache-commons-lang-b02dad440f14b56250c60bfcee96cb6f94469be8.tar.gz |
Unnecessary @SuppressWarnings("unchecked")
-rw-r--r-- | src/test/java/org/apache/commons/lang3/time/StopWatchTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java b/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java index b59ee8cb3..60e3e659e 100644 --- a/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java +++ b/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java @@ -141,7 +141,7 @@ public class StopWatchTest { } @Test - public void testFormatSplitTime() throws InterruptedException { + public void testFormatSplitTime() { final StopWatch watch = StopWatch.createStarted(); ThreadUtils.sleepQuietly(MIN_SLEEP_MILLISECONDS); watch.split(); @@ -151,7 +151,7 @@ public class StopWatchTest { } @Test - public void testFormatSplitTimeWithMessage() throws InterruptedException { + public void testFormatSplitTimeWithMessage() { final StopWatch watch = new StopWatch(MESSAGE); watch.start(); ThreadUtils.sleepQuietly(MIN_SLEEP_MILLISECONDS); |