mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +02: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:
parent
823bdc721f
commit
c6e9779af1
38 changed files with 126 additions and 125 deletions
|
@ -132,7 +132,7 @@ public class LoginFlow extends Flow {
|
|||
sessionMetadata.resetFailedLoginAttempts();
|
||||
sessionMetadata.setClientId(login.getClientId());
|
||||
sessionMetadata.setServiceExtensionUris(serviceExtensionUrisBuilder.build());
|
||||
return createOutput(Code.Success);
|
||||
return createOutput(Code.SUCCESS);
|
||||
}
|
||||
|
||||
/** Registrar with this client ID could not be found. */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
package google.registry.flows.session;
|
||||
|
||||
import static google.registry.model.eppoutput.Result.Code.SuccessAndClose;
|
||||
import static google.registry.model.eppoutput.Result.Code.SUCCESS_AND_CLOSE;
|
||||
|
||||
import google.registry.flows.EppException;
|
||||
import google.registry.flows.LoggedInFlow;
|
||||
|
@ -33,6 +33,6 @@ public class LogoutFlow extends LoggedInFlow {
|
|||
@Override
|
||||
public final EppOutput run() throws EppException {
|
||||
sessionMetadata.invalidate();
|
||||
return createOutput(SuccessAndClose);
|
||||
return createOutput(SUCCESS_AND_CLOSE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue