Skip to content

Commit b1933ce

Browse files
cpovirkronshapiro
authored andcommitted
Make a constructor private.
(I'm looking into EnumMap stuff for other reasons, and I got to wondering if this was used outside the file. Nope.) RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=233408580
1 parent da2895f commit b1933ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
3636
return new ImmutableEnumMap<K, V>(map);
3737
}
3838

39-
ImmutableEnumMap(Map<? extends K, ? extends V> delegate) {
39+
private ImmutableEnumMap(Map<? extends K, ? extends V> delegate) {
4040
super(WellBehavedMap.wrap(delegate));
4141
}
4242
}

0 commit comments

Comments
 (0)