mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +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
|
@ -16,8 +16,8 @@ package google.registry.flows.poll;
|
|||
|
||||
import static com.google.common.base.Preconditions.checkState;
|
||||
import static google.registry.flows.poll.PollFlowUtils.getPollMessagesQuery;
|
||||
import static google.registry.model.eppoutput.Result.Code.Success;
|
||||
import static google.registry.model.eppoutput.Result.Code.SuccessWithNoMessages;
|
||||
import static google.registry.model.eppoutput.Result.Code.SUCCESS;
|
||||
import static google.registry.model.eppoutput.Result.Code.SUCCESS_WITH_NO_MESSAGES;
|
||||
import static google.registry.model.ofy.ObjectifyService.ofy;
|
||||
import static google.registry.util.DateTimeUtils.isBeforeOrAt;
|
||||
|
||||
|
@ -117,9 +117,9 @@ public class PollAckFlow extends LoggedInFlow implements TransactionalFlow {
|
|||
messageCount--;
|
||||
}
|
||||
if (messageCount <= 0) {
|
||||
return createOutput(SuccessWithNoMessages);
|
||||
return createOutput(SUCCESS_WITH_NO_MESSAGES);
|
||||
}
|
||||
return createOutput(Success, null, null, MessageQueueInfo.create(
|
||||
return createOutput(SUCCESS, null, null, MessageQueueInfo.create(
|
||||
null, // eventTime
|
||||
null, // msg
|
||||
messageCount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue