Skip to content

Add test cases in UnmodifiableMultiValuedMapTest#102

Merged
garydgregory merged 3 commits intoapache:masterfrom
dota17:UnmodifiableMultiValuedMapTest
Nov 4, 2019
Merged

Add test cases in UnmodifiableMultiValuedMapTest#102
garydgregory merged 3 commits intoapache:masterfrom
dota17:UnmodifiableMultiValuedMapTest

Conversation

@dota17
Copy link
Copy Markdown
Contributor

@dota17 dota17 commented Oct 31, 2019

No description provided.

import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.*;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No * imports please.

map.remove((K) "one");
fail();
} catch (final UnsupportedOperationException e) {
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment empty blocks so we know why we are ignoring exceptions. It helps others to understand the code more quicly IMO.

@garydgregory garydgregory merged commit fbe9566 into apache:master Nov 4, 2019
@dota17 dota17 deleted the UnmodifiableMultiValuedMapTest branch November 5, 2019 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants