diff --git a/java/google/registry/model/EppResource.java b/java/google/registry/model/EppResource.java index c80d16c27..74787e185 100644 --- a/java/google/registry/model/EppResource.java +++ b/java/google/registry/model/EppResource.java @@ -18,7 +18,6 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; import static com.google.common.collect.Sets.difference; import static com.google.common.collect.Sets.union; -import static google.registry.util.CollectionUtils.difference; import static google.registry.util.CollectionUtils.nullToEmpty; import static google.registry.util.CollectionUtils.nullToEmptyImmutableCopy; import static google.registry.util.DateTimeUtils.END_OF_TIME; @@ -30,7 +29,6 @@ import com.google.common.collect.ImmutableSortedMap; import com.googlecode.objectify.Key; import com.googlecode.objectify.annotation.Id; import com.googlecode.objectify.annotation.Index; -import com.googlecode.objectify.annotation.OnLoad; import google.registry.model.eppcommon.StatusValue; import google.registry.model.ofy.CommitLogManifest; import google.registry.model.transfer.TransferData; @@ -302,12 +300,4 @@ public abstract class EppResource extends BackupGroupRoot implements Buildable { return ImmutableObject.cloneEmptyToNull(super.build()); } } - - // TODO(b/34664935): remove this once LINKED has been removed from all persisted resources. - @OnLoad - void onLoadRemoveLinked() { - if (status != null) { - status = difference(status, StatusValue.LINKED); - } - } }