You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/28 19:17:43 UTC

[commons-jexl] 09/15: Access method directly

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git

commit 1d9eaa454529f280f8b6641e095e10a4697e9b05
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 28 14:05:04 2022 -0500

    Access method directly
---
 src/test/java/org/apache/commons/jexl3/VarTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/jexl3/VarTest.java b/src/test/java/org/apache/commons/jexl3/VarTest.java
index 010bc930..a93836b4 100644
--- a/src/test/java/org/apache/commons/jexl3/VarTest.java
+++ b/src/test/java/org/apache/commons/jexl3/VarTest.java
@@ -28,6 +28,7 @@ import java.util.Map;
 import java.util.Set;
 import java.util.TimeZone;
 import org.apache.commons.jexl3.parser.JexlParser;
+import org.apache.commons.jexl3.parser.StringParser;
 import org.junit.Assert;
 import org.junit.Test;
 import org.apache.commons.logging.Log;
@@ -484,7 +485,7 @@ public class VarTest extends JexlTestCase {
             }
             else if (c == '\'' || c == '"') {
                 strb.append(c);
-                final int l = JexlParser.readString(strb, str, i + 1, c);
+                final int l = StringParser.readString(strb, str, i + 1, c);
                 if (l > 0) {
                     id = strb.substring(1, strb.length() - 1);
                     strb.delete(0, l + 1);