diff options
Diffstat (limited to 'java/util/EnumMap.java')
-rw-r--r-- | java/util/EnumMap.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/util/EnumMap.java b/java/util/EnumMap.java index 477dff8e0..f9e711b16 100644 --- a/java/util/EnumMap.java +++ b/java/util/EnumMap.java @@ -220,7 +220,7 @@ public class EnumMap<K extends Enum<K>, V> { ++count; for (++index; store[index] == emptySlot; ++index) - ; + continue; return enumClass.getEnumConstants()[index]; } @@ -278,7 +278,7 @@ public class EnumMap<K extends Enum<K>, V> { ++count; for (++index; store[index] == emptySlot; ++index) - ; + continue; return store[index]; } @@ -326,7 +326,7 @@ public class EnumMap<K extends Enum<K>, V> { ++count; for (++index; store[index] == emptySlot; ++index) - ; + continue; // FIXME: we could just return something that // only knows the index. That would be cleaner. return new AbstractMap.SimpleEntry<K, V>(enumClass.getEnumConstants()[index], |