mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Make some methods static
A delayed followup from [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=121968754
This commit is contained in:
parent
371ffdf0c1
commit
766e2082f8
1 changed files with 2 additions and 2 deletions
|
@ -398,7 +398,7 @@ abstract class CreateOrUpdateTldCommand extends MutatingCommand {
|
|||
}
|
||||
}
|
||||
|
||||
private ImmutableSet<String> formUpdatedList(
|
||||
private static ImmutableSet<String> formUpdatedList(
|
||||
String description,
|
||||
ImmutableSet<String> originals,
|
||||
List<String> toReplace,
|
||||
|
@ -422,7 +422,7 @@ abstract class CreateOrUpdateTldCommand extends MutatingCommand {
|
|||
return ImmutableSet.copyOf(difference(union(originals, toAdd), toRemove));
|
||||
}
|
||||
|
||||
private void checkIsEmpty(Set<String> set, String errorString) {
|
||||
private static void checkIsEmpty(Set<String> set, String errorString) {
|
||||
checkArgument(set.isEmpty(), String.format("%s: %s", errorString, set));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue