Skip to content

Commit 4b100ce

Browse files
author
Ann
committed
indents
1 parent 6b1e114 commit 4b100ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/Worker.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public static void main(String[] argv)
3838
}
3939

4040
private static void doWork(String task) throws InterruptedException {
41-
for (char ch: task.toCharArray()) {
42-
if (ch == '.') Thread.sleep(1000);
43-
}
41+
for (char ch: task.toCharArray()) {
42+
if (ch == '.') Thread.sleep(1000);
4443
}
44+
}
4545
}

0 commit comments

Comments
 (0)