Skip to content

Commit

Permalink
Remove @WeakOuter from ImmutableMultiset.ElementSet. @WeakOuter is us…
Browse files Browse the repository at this point in the history
…eful for inner classes but not for static nested classes.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=202500806
  • Loading branch information
antonio-cortes-perez authored and cgdecker committed Jul 10, 2018
1 parent fa63efc commit 644e918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableMultiset.java
Expand Up @@ -584,9 +584,9 @@ ImmutableMultiset<E> buildJdkBacked() {
}
}

@WeakOuter
static final class ElementSet<E> extends ImmutableSet.Indexed<E> {
private final List<Entry<E>> entries;
// TODO(cpovirk): @Weak?
private final Multiset<E> delegate;

ElementSet(List<Entry<E>> entries, Multiset<E> delegate) {
Expand Down

0 comments on commit 644e918

Please sign in to comment.