# | Line 62 | Line 62 | public class RacingCollections { | |
---|---|---|
62 | this.start(); | |
63 | } | |
64 | ||
65 | < | @SuppressWarnings("unchecked") void clear(Object o) { |
65 | > | @SuppressWarnings("unchecked") |
66 | > | void clear(Object o) { |
67 | if (o instanceof Collection) | |
68 | ((Collection<?>)o).clear(); | |
69 | else | |
70 | ((Map<?,?>)o).clear(); | |
71 | } | |
72 | ||
73 | < | @SuppressWarnings("unchecked") void realRun() { |
73 | > | @SuppressWarnings("unchecked") |
74 | > | void realRun() { |
75 | // Mutate elLoco wildly forever, checking occasionally for "done" | |
76 | clear(elLoco); | |
77 | if (elLoco instanceof List) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |