mirror of
https://github.com/google/nomulus.git
synced 2025-08-16 22:44:06 +02:00
Fix some style issues that will help us out later
These files will have errors later when we run the Google Java Format plugin over their entirety (e.g. a situation where fixed indentation leads to a line that's longer than 100 characters). It's simpler to fix them now so we won't have to fix them later. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=232353791
This commit is contained in:
parent
a325f0a50b
commit
058ef07e16
5 changed files with 28 additions and 27 deletions
|
@ -183,15 +183,14 @@ abstract class CreateOrUpdateRegistrarCommand extends MutatingCommand {
|
|||
|
||||
@Nullable
|
||||
@Parameter(
|
||||
names = "--billing_account_map",
|
||||
description =
|
||||
"Registrar Billing Account key-value pairs (formatted as key=value[,key=value...]), "
|
||||
+ "where key is a currency unit (USD, JPY, etc) and value is the registrar's billing "
|
||||
+ "account id for that currency. During update, only the pairs that need updating need "
|
||||
+ "to be provided.",
|
||||
converter = CurrencyUnitToStringMap.class,
|
||||
validateWith = CurrencyUnitToStringMap.class
|
||||
)
|
||||
names = "--billing_account_map",
|
||||
description =
|
||||
"Registrar Billing Account key-value pairs (formatted as key=value[,key=value...]), "
|
||||
+ "where key is a currency unit (USD, JPY, etc) and value is the registrar's billing "
|
||||
+ "account id for that currency. During update, only the pairs that need updating "
|
||||
+ "need to be provided.",
|
||||
converter = CurrencyUnitToStringMap.class,
|
||||
validateWith = CurrencyUnitToStringMap.class)
|
||||
private Map<CurrencyUnit, String> billingAccountMap;
|
||||
|
||||
@Nullable
|
||||
|
|
|
@ -307,8 +307,9 @@ abstract class CreateOrUpdateTldCommand extends MutatingCommand {
|
|||
if (renewBillingCostTransitions.size() > 1) {
|
||||
System.err.println(
|
||||
"----------------------\n"
|
||||
+ "WARNING: Do not set multiple renew cost transitions until b/20764952 is fixed.\n"
|
||||
+ "----------------------\n");
|
||||
+ "WARNING: Do not set multiple renew cost transitions "
|
||||
+ "until b/20764952 is fixed.\n"
|
||||
+ "----------------------\n");
|
||||
}
|
||||
builder.setRenewBillingCostTransitions(renewBillingCostTransitions);
|
||||
}
|
||||
|
|
|
@ -44,10 +44,10 @@ import javax.inject.Named;
|
|||
|
||||
/** Command to generate and persist {@link AllocationToken}s. */
|
||||
@Parameters(
|
||||
separators = " =",
|
||||
commandDescription =
|
||||
"Generates and persists the given number of AllocationTokens, printing each token to stdout."
|
||||
)
|
||||
separators = " =",
|
||||
commandDescription =
|
||||
"Generates and persists the given number of AllocationTokens, "
|
||||
+ "printing each token to stdout.")
|
||||
@NonFinalForTesting
|
||||
class GenerateAllocationTokensCommand implements CommandWithRemoteApi {
|
||||
|
||||
|
|
|
@ -83,8 +83,9 @@ final class UniformRapidSuspensionCommand extends MutatingEppToolCommand {
|
|||
|
||||
@Parameter(
|
||||
names = {"-p", "--locks_to_preserve"},
|
||||
description = "Comma-delimited set of locks to preserve (only valid with --undo). "
|
||||
+ "Valid locks: serverDeleteProhibited, serverTransferProhibited, serverUpdateProhibited")
|
||||
description =
|
||||
"Comma-delimited set of locks to preserve (only valid with --undo). Valid "
|
||||
+ "locks: serverDeleteProhibited, serverTransferProhibited, serverUpdateProhibited")
|
||||
private List<String> locksToPreserve = new ArrayList<>();
|
||||
|
||||
@Parameter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue