mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Always use the constructor to make Immutable Collection Builders
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135359669
This commit is contained in:
parent
79387f5d1e
commit
b65b855067
16 changed files with 29 additions and 32 deletions
|
@ -88,7 +88,7 @@ public final class LordnLog implements Iterable<Entry<String, LordnLog.Result>>
|
|||
}
|
||||
}
|
||||
|
||||
private static final Map<Integer, Result> RESULTS = ImmutableMap.<Integer, Result>builder()
|
||||
private static final Map<Integer, Result> RESULTS = new ImmutableMap.Builder<Integer, Result>()
|
||||
.put(2000, new Result(2000, "OK"))
|
||||
.put(2001, new Result(2001, "OK but not processed"))
|
||||
.put(3601, new Result(3601, "TCN Acceptance Date after Registration Date"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue