mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 19:48:32 +02:00
Remove the deprecated MISTAKEN_PREMIUM reservation type
It doesn't do anything that ALLOWED_IN_SUNRISE doesn't do, and there's no point in having two separate types when we can simply keep track of the semantic difference between the two by using different lists (as we have for .soy). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212997752
This commit is contained in:
parent
a9944b8ce0
commit
8ddbf88151
7 changed files with 12 additions and 21 deletions
|
@ -40,24 +40,20 @@ public enum ReservationType {
|
|||
/** The domain can only be registered during sunrise, and is reserved thereafter. */
|
||||
ALLOWED_IN_SUNRISE("Reserved for non-sunrise", 1),
|
||||
|
||||
/** The domain can only be registered during sunrise, and is reserved thereafter. */
|
||||
@Deprecated
|
||||
MISTAKEN_PREMIUM("Reserved", 2),
|
||||
|
||||
/** The domain can only be registered by providing a specific token. */
|
||||
RESERVED_FOR_SPECIFIC_USE("Reserved", 3),
|
||||
RESERVED_FOR_SPECIFIC_USE("Reserved", 2),
|
||||
|
||||
/** The domain is for an anchor tenant and can only be registered using a specific token. */
|
||||
RESERVED_FOR_ANCHOR_TENANT("Reserved", 4),
|
||||
RESERVED_FOR_ANCHOR_TENANT("Reserved", 3),
|
||||
|
||||
/**
|
||||
* The domain can only be registered during sunrise for defensive purposes, and will never
|
||||
* resolve.
|
||||
*/
|
||||
NAME_COLLISION("Cannot be delegated", 5),
|
||||
NAME_COLLISION("Cannot be delegated", 4),
|
||||
|
||||
/** The domain can never be registered. */
|
||||
FULLY_BLOCKED("Reserved", 6);
|
||||
FULLY_BLOCKED("Reserved", 5);
|
||||
|
||||
@Nullable
|
||||
private final String messageForCheck;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue