Rewrite ImmutableMap.Builder#build
to #buildOrThrow
#1223
Labels
Milestone
ImmutableMap.Builder#build
to #buildOrThrow
#1223
Problem
An
ImmutableMap.Builder
has two terminal methods which accomplish the same thing:build
orbuildOrThrow
.The
buildOrThrow
method should be preferred, because the documentation ofbuild
specifies:Description of the proposed new feature
I would like to rewrite the following code:
to:
The text was updated successfully, but these errors were encountered: