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:
cgoldfeder 2016-05-10 11:32:53 -07:00 committed by Justine Tunney
parent 371ffdf0c1
commit 766e2082f8

View file

@ -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));
}