mirror of
https://github.com/google/nomulus
synced 2026-01-05 21:15:18 +00:00
Fix Result.Code enum values to use UPPER_CAMEL naming
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133324460
This commit is contained in:
@@ -19,7 +19,7 @@ import static google.registry.flows.ResourceFlowUtils.verifyNoDisallowedStatuses
|
||||
import static google.registry.flows.ResourceFlowUtils.verifyOptionalAuthInfoForResource;
|
||||
import static google.registry.flows.ResourceFlowUtils.verifyResourceOwnership;
|
||||
import static google.registry.model.EppResourceUtils.loadByUniqueId;
|
||||
import static google.registry.model.eppoutput.Result.Code.SuccessWithActionPending;
|
||||
import static google.registry.model.eppoutput.Result.Code.SUCCESS_WITH_ACTION_PENDING;
|
||||
import static google.registry.model.ofy.ObjectifyService.ofy;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
@@ -114,6 +114,6 @@ public class HostDeleteFlow extends LoggedInFlow implements TransactionalFlow {
|
||||
.setModificationTime(now)
|
||||
.setParent(Key.create(existingResource));
|
||||
ofy().save().<Object>entities(newResource, historyBuilder.build());
|
||||
return createOutput(SuccessWithActionPending);
|
||||
return createOutput(SUCCESS_WITH_ACTION_PENDING);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user