mirror of
https://github.com/google/nomulus.git
synced 2025-05-29 17:00:11 +02:00
Remove @OnLoad on setDefaultNumDnsPublishLocks
All entities are updated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=243274828
This commit is contained in:
parent
63807aa9be
commit
416a39b003
1 changed files with 1 additions and 7 deletions
|
@ -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.
|
||||
*
|
||||
* <p>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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue