mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +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.rdap;
|
||||
|
||||
import com.google.auto.value.AutoValue;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import google.registry.model.EppResource;
|
||||
import google.registry.rdap.RdapSearchResults.IncompletenessWarningType;
|
||||
import java.util.List;
|
||||
|
@ -31,11 +32,11 @@ abstract class RdapResultSet<T extends EppResource> {
|
|||
IncompletenessWarningType incompletenessWarningType,
|
||||
int numResourcesRetrieved) {
|
||||
return new AutoValue_RdapResultSet<>(
|
||||
resources, incompletenessWarningType, numResourcesRetrieved);
|
||||
ImmutableList.copyOf(resources), incompletenessWarningType, numResourcesRetrieved);
|
||||
}
|
||||
|
||||
/** List of EPP resources. */
|
||||
abstract List<T> resources();
|
||||
abstract ImmutableList<T> resources();
|
||||
|
||||
/** Type of warning to display regarding possible incomplete data. */
|
||||
abstract IncompletenessWarningType incompletenessWarningType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue