diff --git a/guava/src/com/google/common/collect/ImmutableMap.java b/guava/src/com/google/common/collect/ImmutableMap.java index 69febc46df53..85e7b3221c2f 100644 --- a/guava/src/com/google/common/collect/ImmutableMap.java +++ b/guava/src/com/google/common/collect/ImmutableMap.java @@ -669,7 +669,7 @@ public ImmutableSet keySet() { } ImmutableSet createKeySet() { - return isEmpty() ? ImmutableSet.of() : new ImmutableMapKeySet(this); + return new ImmutableMapKeySet(this); } UnmodifiableIterator keyIterator() {