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:
@@ -17,7 +17,7 @@ package google.registry.flows.host;
|
||||
import static google.registry.flows.ResourceFlowUtils.verifyOptionalAuthInfoForResource;
|
||||
import static google.registry.model.EppResourceUtils.cloneResourceWithLinkedStatus;
|
||||
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 com.google.common.base.Optional;
|
||||
import google.registry.flows.EppException;
|
||||
@@ -50,6 +50,6 @@ public class HostInfoFlow extends LoggedInFlow {
|
||||
throw new ResourceToQueryDoesNotExistException(HostResource.class, targetId);
|
||||
}
|
||||
verifyOptionalAuthInfoForResource(authInfo, existingResource);
|
||||
return createOutput(Success, cloneResourceWithLinkedStatus(existingResource, now));
|
||||
return createOutput(SUCCESS, cloneResourceWithLinkedStatus(existingResource, now));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user