mirror of
https://github.com/google/nomulus.git
synced 2025-07-02 17:23:32 +02:00
Upgrade the version of google/errorprone plug-in
This CL upgraded google/errorprone plug-in to 2.3.3 and resolved some warnings detected from the plug-in. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=238047862
This commit is contained in:
parent
058c12c343
commit
4b6ace920b
22 changed files with 119 additions and 105 deletions
|
@ -15,6 +15,7 @@
|
|||
package google.registry.reporting.spec11;
|
||||
|
||||
import com.google.auto.value.AutoValue;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import google.registry.beam.spec11.ThreatMatch;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -24,10 +25,11 @@ public abstract class RegistrarThreatMatches {
|
|||
|
||||
public abstract String registrarEmailAddress();
|
||||
|
||||
public abstract List<ThreatMatch> threatMatches();
|
||||
public abstract ImmutableList<ThreatMatch> threatMatches();
|
||||
|
||||
static RegistrarThreatMatches create(
|
||||
String registrarEmailAddress, List<ThreatMatch> threatMatches) {
|
||||
return new AutoValue_RegistrarThreatMatches(registrarEmailAddress, threatMatches);
|
||||
return new AutoValue_RegistrarThreatMatches(
|
||||
registrarEmailAddress, ImmutableList.copyOf(threatMatches));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue