From 9127dbae488776dae505c8fe15db622a54cbfe76 Mon Sep 17 00:00:00 2001 From: Jonathan Hedley Date: Thu, 19 Jan 2023 17:12:37 +1100 Subject: [PATCH] char match combinators --- src/main/java/org/jsoup/select/QueryParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jsoup/select/QueryParser.java b/src/main/java/org/jsoup/select/QueryParser.java index bed380db7b..b049df3d74 100644 --- a/src/main/java/org/jsoup/select/QueryParser.java +++ b/src/main/java/org/jsoup/select/QueryParser.java @@ -15,7 +15,7 @@ * Parses a CSS selector into an Evaluator tree. */ public class QueryParser { - private final static String[] combinators = {",", ">", "+", "~", " "}; + private final static char[] combinators = {',', '>', '+', '~', ' '}; private static final String[] AttributeEvals = new String[]{"=", "!=", "^=", "$=", "*=", "~="}; private final TokenQueue tq;