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 2019/05/21 12:36:47 UTC

[commons-lang] branch master updated: Document empty block.

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


The following commit(s) were added to refs/heads/master by this push:
     new 3a6f206  Document empty block.
3a6f206 is described below

commit 3a6f20615b6b573146485b6ee210d90578aec097
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue May 21 08:36:44 2019 -0400

    Document empty block.
---
 src/test/java/org/apache/commons/lang3/time/StopWatchTest.java | 10 ++++++++++
 1 file changed, 10 insertions(+)

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 332afe2..48926aa 100644
--- a/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
@@ -39,6 +39,7 @@ public class StopWatchTest {
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.stop();
         final long time = watch.getTime();
@@ -67,6 +68,7 @@ public class StopWatchTest {
         try {
             Thread.sleep(500);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         assertTrue(watch.getTime() < 2000);
     }
@@ -93,6 +95,7 @@ public class StopWatchTest {
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.split();
         final long splitTime = watch.getSplitTime();
@@ -100,11 +103,13 @@ public class StopWatchTest {
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.unsplit();
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.stop();
         final long totalTime = watch.getTime();
@@ -123,17 +128,20 @@ public class StopWatchTest {
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.suspend();
         final long suspendTime = watch.getTime();
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.resume();
         try {
             Thread.sleep(550);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.stop();
         final long totalTime = watch.getTime();
@@ -151,12 +159,14 @@ public class StopWatchTest {
         try {
             Thread.sleep(200);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.suspend();
         final long suspendTime = watch.getTime();
         try {
             Thread.sleep(200);
         } catch (final InterruptedException ex) {
+            // ignore
         }
         watch.stop();
         final long totalTime = watch.getTime();