Fix typo: correct sizeUint to sizeUnit
@@ -85,7 +85,7 @@ abstract class CliCommand {
String subStr = s.substring(0, s.length() - 1);
long size;
try {
- size = sizeUint.contains(last)
+ size = sizeUnit.contains(last)
? Long.parseLong(subStr)
: Long.parseLong(s);
} catch (IllegalArgumentException e) {
@@ -218,7 +218,7 @@ abstract class CliCommand {
private static ObjectMapper mapper = ObjectMapperFactory.create();
private static ObjectWriter writer = mapper.writerWithDefaultPrettyPrinter();
- private static Set<Character> sizeUint = Sets.newHashSet('k', 'K', 'm', 'M', 'g', 'G', 't', 'T');
+ private static Set<Character> sizeUnit = Sets.newHashSet('k', 'K', 'm', 'M', 'g', 'G', 't', 'T');
abstract void run() throws Exception;
}
