File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dot-parse/src/main/java/com/google/common/labs/parse Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,9 @@ public static Parser<String> string(String value) {
235235 * quotedStringWithEscapes('"', unicodeEscaped.or(chars(1))).parse("foo\\uD83D");
236236 * }</pre>
237237 */
238- public static Parser <String > quotedStringWithEscapes (char quoteChar , Parser <String > escaped ) {
239- Parser <String > escape = string ("\\ " ).then (escaped );
238+ public static Parser <String > quotedStringWithEscapes (
239+ char quoteChar , Parser <? extends CharSequence > escaped ) {
240+ var escape = string ("\\ " ).then (escaped );
240241 checkArgument (quoteChar != '\\' , "quoteChar cannot be '\\ '" );
241242 checkArgument (!Character .isISOControl (quoteChar ), "quoteChar cannot be a control character" );
242243 String quoteString = Character .toString (quoteChar );
You can’t perform that action at this time.
0 commit comments