Skip to content

Commit

Permalink
Fixed the checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
dota17 committed Apr 9, 2020
1 parent 84a2460 commit 311980a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ public void testAsMapRemove() {
}

public void testAsMapValues() {
if(!isAddSupported() || isHashSetValue()){
if (!isAddSupported() || isHashSetValue()) {
return;
}
final MultiValuedMap<K, V> multiMap = makeObject();
Expand All @@ -762,8 +762,8 @@ public void testAsMapValues() {
multiMap.put((K) "B", (V) "Q");
multiMap.put((K) "B", (V) "L");
assertEquals("{A=[W, X, F], B=[Q, Q, L]}", multiMap.toString());
for(Collection<V> list : multiMap.asMap().values()){
for(Iterator<V> it = list.iterator(); it.hasNext(); ){
for (Collection<V> list : multiMap.asMap().values()) {
for (Iterator<V> it = list.iterator(); it.hasNext(); ) {
V i = it.next();
it.remove();
}
Expand All @@ -772,7 +772,7 @@ public void testAsMapValues() {
}

public void testAsMapEntrySet() {
if(!isAddSupported() || isHashSetValue()){
if (!isAddSupported() || isHashSetValue()){
return;
}
final MultiValuedMap<K, V> multiMap = makeObject();
Expand All @@ -784,8 +784,8 @@ public void testAsMapEntrySet() {
multiMap.put((K) "B", (V) "L");
assertEquals("{A=[W, X, F], B=[Q, Q, L]}", multiMap.toString());
Map<K, Collection<V>> asMap = multiMap.asMap();
for(Map.Entry<K, Collection<V>> entry : asMap.entrySet()){
for(Iterator<V> it = entry.getValue().iterator(); it.hasNext(); ){
for (Map.Entry<K, Collection<V>> entry : asMap.entrySet()){
for (Iterator<V> it = entry.getValue().iterator(); it.hasNext(); ){
V str = it.next();
it.remove();
}
Expand Down

0 comments on commit 311980a

Please sign in to comment.