rename get to getInt
This commit is contained in:
@@ -53,7 +53,7 @@ public class StringCompressor {
|
||||
}
|
||||
|
||||
public int getIfPresent(final String string) {
|
||||
final Integer integer = usip.get(string);
|
||||
final Integer integer = usip.getInt(string);
|
||||
return integer != null ? integer : -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ public class UniqueStringIntegerPairs {
|
||||
bytesToInt.put(new ByteArray(string), integer);
|
||||
}
|
||||
|
||||
public Integer get(final String string) {
|
||||
public Integer getInt(final String string) {
|
||||
|
||||
return stringToInt.get(string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user