You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2019/06/02 12:47:17 UTC
svn commit: r1860524 -
/jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java
Author: pmouawad
Date: Sun Jun 2 12:47:17 2019
New Revision: 1860524
URL: http://svn.apache.org/viewvc?rev=1860524&view=rev
Log:
Drop unused code
Modified:
jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java
Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java?rev=1860524&r1=1860523&r2=1860524&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java Sun Jun 2 12:47:17 2019
@@ -37,7 +37,6 @@ public class XPath2Assertion extends Abs
private static final long serialVersionUID = 241L;
// + JMX file attributes
private static final String XPATH_KEY = "XPath.xpath"; // $NON-NLS-1$
- private static final String VALIDATE_KEY = "XPath.validate"; // $NON-NLS-1$
private static final String NEGATE_KEY = "XPath.negate"; // $NON-NLS-1$
private static final String NAMESPACES = "XPath.namespaces"; // $NON-NLS-1$
// - JMX file attributes
@@ -94,29 +93,11 @@ public class XPath2Assertion extends Abs
setProperty(new StringProperty(XPATH_KEY, xpath));
}
- /**
- * Set use validation
- *
- * @param validate Flag whether validation should be used
- */
- public void setValidating(boolean validate) {
- setProperty(new BooleanProperty(VALIDATE_KEY, validate));
- }
-
public void setNegated(boolean negate) {
setProperty(new BooleanProperty(NEGATE_KEY, negate));
}
/**
- * Is this validating
- *
- * @return boolean
- */
- public boolean isValidating() {
- return getPropertyAsBoolean(VALIDATE_KEY, false);
- }
-
- /**
* Negate the XPath test, that is return true if something is not found.
*
* @return boolean negated