File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
dot-parse/src/main/java/com/google/common/labs/parse Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2121 *
2222 * <p>It's strongly recommended to install the mug-errorprone plugin (v9.4+) in your
2323 * compiler's and IDE's annotationProcessorPaths so that you can get instant feedback
24- * against incorrect character set format .
24+ * against incorrect character set syntax .
2525 *
2626 * <p>Implementation Note: regex isn't used during parsing. The character set string is translated
2727 * to a plain {@link CharPredicate} at construction time.
@@ -72,8 +72,7 @@ private static CharPredicate compileCharacterSet(String characterSet) {
7272 "Character set must be in square brackets. Use [%s] instead." , characterSet );
7373 checkArgument (
7474 !characterSet .contains ("\\ " ),
75- "Escaping (%s) not supported in a character set. "
76- + "Please use single(CharePredicate) or consecutive(CharPredicate) instead." ,
75+ "Escaping (%s) not supported in a character set. Please use CharePredicate instead." ,
7776 characterSet );
7877 Parser <Character > validChar = Parser .single (isNot (']' ), "character" );
7978 Parser <CharPredicate > range =
You can’t perform that action at this time.
0 commit comments