Skip to content
Snippets Groups Projects
Commit 9317065b authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Format

parent ecfb531a
No related branches found
No related tags found
No related merge requests found
...@@ -149,9 +149,7 @@ public class StringBoundary extends AbstractBoundary<String> { ...@@ -149,9 +149,7 @@ public class StringBoundary extends AbstractBoundary<String> {
@Override @Override
public String getParsedText() { public String getParsedText() {
return (matchNoneOfValues ? "not(" : "") return (matchNoneOfValues ? "not(" : "")
+ Arrays.stream(values) + Arrays.stream(values).map(v -> '"' + v + '"').collect(Collectors.joining(","))
.map(v -> '"' + v + '"')
.collect(Collectors.joining(","))
+ (matchNoneOfValues ? ")" : ""); + (matchNoneOfValues ? ")" : "");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment