Remove @IdAllocation annotation from repoId (#1923)

This annotation only works for Long or long field.
This commit is contained in:
Lai Jiang 2023-01-30 15:40:40 -05:00 committed by GitHub
parent 6fabbb62d2
commit 07b87bbb4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
import google.registry.config.RegistryConfig; import google.registry.config.RegistryConfig;
import google.registry.dns.RefreshDnsAction; import google.registry.dns.RefreshDnsAction;
import google.registry.model.annotations.IdAllocation;
import google.registry.model.eppcommon.StatusValue; import google.registry.model.eppcommon.StatusValue;
import google.registry.model.transfer.TransferData; import google.registry.model.transfer.TransferData;
import google.registry.persistence.VKey; import google.registry.persistence.VKey;
@ -68,7 +67,7 @@ public abstract class EppResource extends UpdateAutoTimestampEntity implements B
* *
* @see <a href="https://tools.ietf.org/html/rfc5730">RFC 5730</a> * @see <a href="https://tools.ietf.org/html/rfc5730">RFC 5730</a>
*/ */
@IdAllocation @Transient String repoId; @Transient String repoId;
/** /**
* The ID of the registrar that is currently sponsoring this resource. * The ID of the registrar that is currently sponsoring this resource.