Skip to content

Commit

Permalink
Make a constructor private.
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
cpovirk authored and ronshapiro committed Feb 14, 2019
1 parent cbbcc98 commit 9d01511
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
return new ImmutableEnumMap<K, V>(map);
}

ImmutableEnumMap(Map<? extends K, ? extends V> delegate) {
private ImmutableEnumMap(Map<? extends K, ? extends V> delegate) {
super(WellBehavedMap.wrap(delegate));
}
}

0 comments on commit 9d01511

Please sign in to comment.