diff --git a/java/google/registry/model/registry/Registry.java b/java/google/registry/model/registry/Registry.java index 0bdcd118a..3cead94fd 100644 --- a/java/google/registry/model/registry/Registry.java +++ b/java/google/registry/model/registry/Registry.java @@ -43,7 +43,6 @@ import com.googlecode.objectify.annotation.Embed; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import com.googlecode.objectify.annotation.Mapify; -import com.googlecode.objectify.annotation.OnLoad; import com.googlecode.objectify.annotation.OnSave; import com.googlecode.objectify.annotation.Parent; import google.registry.model.Buildable; @@ -277,12 +276,7 @@ public class Registry extends ImmutableObject implements Buildable { */ int numDnsPublishLocks; - /** - * Updates an unset numDnsPublishLocks (0) to the standard default of 1. - * - *
TODO(b/74010245): Remove OnLoad once all Registry objects have this value set to 1. - */ - @OnLoad + /** Updates an unset numDnsPublishLocks (0) to the standard default of 1. */ void setDefaultNumDnsPublishLocks() { if (numDnsPublishLocks == 0) { numDnsPublishLocks = 1;