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:
mcilwain 2016-09-15 16:38:05 -07:00 committed by Ben McIlwain
parent 823bdc721f
commit c6e9779af1
38 changed files with 126 additions and 125 deletions

View file

@ -22,7 +22,7 @@ import static google.registry.flows.host.HostFlowUtils.lookupSuperordinateDomain
import static google.registry.flows.host.HostFlowUtils.validateHostName;
import static google.registry.flows.host.HostFlowUtils.verifyDomainIsSameRegistrar;
import static google.registry.model.EppResourceUtils.loadByUniqueId;
import static google.registry.model.eppoutput.Result.Code.Success;
import static google.registry.model.eppoutput.Result.Code.SUCCESS;
import static google.registry.model.index.ForeignKeyIndex.loadAndGetKey;
import static google.registry.model.ofy.ObjectifyService.ofy;
import static google.registry.util.CollectionUtils.isNullOrEmpty;
@ -156,7 +156,7 @@ public class HostUpdateFlow extends LoggedInFlow implements TransactionalFlow {
.setParent(Key.create(existingResource))
.build());
ofy().save().entities(entitiesToSave.build());
return createOutput(Success);
return createOutput(SUCCESS);
}
private void verifyUpdateAllowed(