You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/03/07 20:49:35 UTC
[commons-lang] 06/10: Unnecessary @SuppressWarnings("unchecked")
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit b02dad440f14b56250c60bfcee96cb6f94469be8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Mar 7 15:36:13 2022 -0500
Unnecessary @SuppressWarnings("unchecked")
---
src/test/java/org/apache/commons/lang3/time/StopWatchTest.java | 4 ++--
1 file 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 b59ee8c..60e3e65 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);