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:
mcilwain 2018-09-14 09:52:57 -07:00 committed by jianglai
parent a9944b8ce0
commit 8ddbf88151
7 changed files with 12 additions and 21 deletions

View file

@ -146,8 +146,7 @@ public class DomainFlowUtils {
public static final ImmutableSet<ReservationType> TYPES_ALLOWED_FOR_CREATE_ONLY_IN_SUNRISE =
Sets.immutableEnumSet(
ReservationType.ALLOWED_IN_SUNRISE,
ReservationType.NAME_COLLISION,
ReservationType.MISTAKEN_PREMIUM);
ReservationType.NAME_COLLISION);
/** Warning message for allocation of collision domains in sunrise. */
public static final String COLLISION_MESSAGE =