author | chegar |
Mon, 16 May 2011 13:10:59 +0100 | |
changeset 9697 | 2abc44607cf6 |
parent 9696 | 27cd7f6cbc4e |
child 9698 | 8b66cd6c5ebc |
jdk/src/share/classes/java/util/concurrent/Phaser.java | file | annotate | diff | comparison | revisions |
--- a/jdk/src/share/classes/java/util/concurrent/Phaser.java Sat May 14 14:55:11 2011 -0700 +++ b/jdk/src/share/classes/java/util/concurrent/Phaser.java Mon May 16 13:10:59 2011 +0100 @@ -159,7 +159,7 @@ * void runTasks(List<Runnable> tasks) { * final Phaser phaser = new Phaser(1); // "1" to register self * // create and start threads - * for (Runnable task : tasks) { + * for (final Runnable task : tasks) { * phaser.register(); * new Thread() { * public void run() {