Switch one more CharMatcher.WHITESPACE to CharMatcher.whitespace().

Change-Id: Ib13392c46749b32b89a853e37a90d898d9a2b005
This commit is contained in:
Michael Zhou
2016-03-09 04:22:09 -05:00
parent f4419da13f
commit 1c25f24880

View File

@@ -180,7 +180,7 @@ public class RepoSequence {
// may do it properly (certainly InMemoryRepository doesn't).
throw new IncorrectObjectTypeException(id, OBJ_BLOB);
}
String str = CharMatcher.WHITESPACE.trimFrom(
String str = CharMatcher.whitespace().trimFrom(
new String(ol.getCachedBytes(), UTF_8));
Integer val = Ints.tryParse(str);
if (val == null) {