jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1832798 - /jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
Date Mon, 04 Jun 2018 07:16:23 GMT
Author: pmouawad
Date: Mon Jun  4 07:16:23 2018
New Revision: 1832798

URL: http://svn.apache.org/viewvc?rev=1832798&view=rev
Log:
Bug 60991 - XPath Extractor : Implement XPath 2.0

Use isNotEmpty instead of isNoneEmpty
Bugzilla Id: 60991

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java?rev=1832798&r1=1832797&r2=1832798&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java Mon Jun  4 07:16:23 2018
@@ -529,7 +529,7 @@ public class XPathUtil {
             throws XMLStreamException, FactoryConfigurationError{
         List<String[]> res= new ArrayList<>();
         XMLStreamReader reader;
-        if(StringUtils.isNoneEmpty(xml)) {
+        if(StringUtils.isNotEmpty(xml)) {
             reader = XMLInputFactory.newFactory().createXMLStreamReader(new StringReader(xml));
             while (reader.hasNext()) {
                 int event = reader.next();



Mime
View raw message