Skip to content

Commit 5f5a50d

Browse files
committed
missing map(Term::new)
1 parent ea8f0e4 commit 5f5a50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dot-parse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ static SearchCriteria parse(String input) {
363363
Parser<Term> unquoted = Parser.word()
364364
.suchThat(w -> !keywords.contains(w), "search term")
365365
.map(Term::new);
366-
Parser<Term> quoted = Parser.quotedStringWithEscapes('"', chars(1));
366+
Parser<Term> quoted = Parser.quotedStringWithEscapes('"', chars(1)).map(Term::new);
367367

368368
// Leaf-level search term can be a quoted, unquoted term, or a sub-criteria inside parentheses.
369369
// They are then grouped by the boolean operators.

0 commit comments

Comments
 (0)