Skip to content

Commit f66df8b

Browse files
committed
Remove constant parameter
1 parent dc674db commit f66df8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/infernus/idea/checkstyle/model/HTTPURLConfigurationLocationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void handle(final HttpExchange exch) throws IOException {
9999
status = 200;
100100
break;
101101
case "/delayed":
102-
waitFor(100);
102+
waitFor();
103103
response = "A delayed test response";
104104
status = 200;
105105
break;
@@ -119,9 +119,9 @@ public void handle(final HttpExchange exch) throws IOException {
119119
os.close();
120120
}
121121

122-
private void waitFor(final int millis) {
122+
private void waitFor() {
123123
try {
124-
Thread.sleep(millis);
124+
Thread.sleep(100);
125125
} catch (InterruptedException ignored) {
126126
}
127127
}

0 commit comments

Comments
 (0)