Unnecessary @SuppressWarnings("unchecked")

This commit is contained in:
Gary Gregory 2022-03-07 15:36:13 -05:00
parent 749062a6c0
commit b02dad440f
1 changed files with 2 additions and 2 deletions

View File

@ -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);