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-io.git
The following commit(s) were added to refs/heads/master by this push: new 66d3583 Resue own API. 66d3583 is described below commit 66d358343dc86cb6b909aa17ee97a8da92dcffdf Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sun Sep 19 11:37:03 2021 -0400 Resue own API. --- src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java b/src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java index 6061bae..4f8095c 100644 --- a/src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java +++ b/src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java @@ -63,10 +63,7 @@ public class FileCleaningTrackerTestCase { private void pauseForDeleteToComplete(File file) { int count = 0; while(file.exists() && count++ < 40) { - try { - TestUtils.sleep(500L); - } catch (final InterruptedException ignore) { - } + TestUtils.sleepQuietly(500L); file = new File(file.getPath()); } }