Switch one more CharMatcher.WHITESPACE to CharMatcher.whitespace().
Change-Id: Ib13392c46749b32b89a853e37a90d898d9a2b005
This commit is contained in:
@@ -180,7 +180,7 @@ public class RepoSequence {
|
|||||||
// may do it properly (certainly InMemoryRepository doesn't).
|
// may do it properly (certainly InMemoryRepository doesn't).
|
||||||
throw new IncorrectObjectTypeException(id, OBJ_BLOB);
|
throw new IncorrectObjectTypeException(id, OBJ_BLOB);
|
||||||
}
|
}
|
||||||
String str = CharMatcher.WHITESPACE.trimFrom(
|
String str = CharMatcher.whitespace().trimFrom(
|
||||||
new String(ol.getCachedBytes(), UTF_8));
|
new String(ol.getCachedBytes(), UTF_8));
|
||||||
Integer val = Ints.tryParse(str);
|
Integer val = Ints.tryParse(str);
|
||||||
if (val == null) {
|
if (val == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user