# | Line 383 | Line 383 | public class MapMicroBenchmark { | |
---|---|---|
383 | ||
384 | // plain array shuffle | |
385 | static void shuffle(Object[] a, int size) { | |
386 | < | for (int i= size; i>1; i--) { |
386 | > | for (int i = size; i > 1; i--) { |
387 | Object t = a[i-1]; | |
388 | int r = rng.nextInt(i); | |
389 | a[i-1] = a[r]; | |
# | Line 444 | Line 444 | public class MapMicroBenchmark { | |
444 | ||
445 | BufferedInputStream in = new BufferedInputStream(fr); | |
446 | int k = 0; | |
447 | < | outer:while (k < n) { |
447 | > | outer: while (k < n) { |
448 | StringBuffer sb = new StringBuffer(); | |
449 | for (;;) { | |
450 | int c = in.read(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |