Skip to content

Commit 66d3583

Browse files
author
Gary Gregory
committed
Resue own API.
1 parent e14bd08 commit 66d3583

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ protected FileCleaningTracker newInstance() {
6363
private void pauseForDeleteToComplete(File file) {
6464
int count = 0;
6565
while(file.exists() && count++ < 40) {
66-
try {
67-
TestUtils.sleep(500L);
68-
} catch (final InterruptedException ignore) {
69-
}
66+
TestUtils.sleepQuietly(500L);
7067
file = new File(file.getPath());
7168
}
7269
}

0 commit comments

Comments
 (0)