mirror of
https://github.com/google/nomulus
synced 2026-05-29 11:10:30 +00:00
Fix a few stylistic issues in preparation for Checkstyle addition
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=230524735
This commit is contained in:
@@ -185,7 +185,7 @@ final class RegistrarContactCommand extends MutatingCommand {
|
||||
case CREATE:
|
||||
stageEntityChange(null, createContact(registrar));
|
||||
if ((visibleInDomainWhoisAsAbuse != null) && visibleInDomainWhoisAsAbuse) {
|
||||
unsetOtherWhoisAbuseFlags(contacts, null /* emailAddressNotToChange */ );
|
||||
unsetOtherWhoisAbuseFlags(contacts, null);
|
||||
}
|
||||
break;
|
||||
case UPDATE:
|
||||
|
||||
@@ -51,7 +51,7 @@ final class UpdateServerLocksCommand extends MutatingEppToolCommand {
|
||||
names = {"-a", "--apply"},
|
||||
description = "Comma-delimited set of locks to apply (or 'all'). "
|
||||
+ "Valid locks: serverDeleteProhibited, serverHold, serverRenewProhibited, "
|
||||
+ "serverTransferProhibited, serverUpdateProhibited" )
|
||||
+ "serverTransferProhibited, serverUpdateProhibited")
|
||||
private List<String> locksToApply = new ArrayList<>();
|
||||
|
||||
@Parameter(
|
||||
|
||||
@@ -57,7 +57,7 @@ public class KillAllCommitLogsAction implements Runnable {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
checkArgument( // safety
|
||||
checkArgument(
|
||||
RegistryEnvironment.get() == RegistryEnvironment.CRASH
|
||||
|| RegistryEnvironment.get() == RegistryEnvironment.UNITTEST,
|
||||
"DO NOT RUN ANYWHERE ELSE EXCEPT CRASH OR TESTS.");
|
||||
|
||||
@@ -53,7 +53,7 @@ public class KillAllEppResourcesAction implements Runnable {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
checkArgument( // safety
|
||||
checkArgument(
|
||||
RegistryEnvironment.get() == RegistryEnvironment.CRASH
|
||||
|| RegistryEnvironment.get() == RegistryEnvironment.UNITTEST,
|
||||
"DO NOT RUN ANYWHERE ELSE EXCEPT CRASH OR TESTS.");
|
||||
|
||||
Reference in New Issue
Block a user