Skip to content

Commit

Permalink
Fix MultiMap.remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Aug 21, 2018
1 parent c4aaa7a commit 27a991a
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -80,9 +80,7 @@ public void put(K k, Set<V> vs) {
}

public void remove(K o) {
for (Set<V> values : map.values()) {
values.remove(o);
}
map.remove(o);
}

public void putAll(Map<? extends K, ? extends Set<V>> _map) {
Expand Down

0 comments on commit 27a991a

Please sign in to comment.