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

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 137863c15cab63129416a280f67f59b04b30c014
Author: Felix Schumacher <[email protected]>
AuthorDate: Sun Jul 14 14:43:49 2019 +0200

    Add javadoc for throws tags
---
 src/core/org/apache/jmeter/util/XPathUtil.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/core/org/apache/jmeter/util/XPathUtil.java 
b/src/core/org/apache/jmeter/util/XPathUtil.java
index 520af54..6376c4c 100644
--- a/src/core/org/apache/jmeter/util/XPathUtil.java
+++ b/src/core/org/apache/jmeter/util/XPathUtil.java
@@ -679,8 +679,8 @@ public class XPathUtil {
     * @param xPathQuery XPath Query
     * @param namespaces Space separated set of prefix=namespace
     * @param isNegated invert result
-    * @throws SaxonApiException
-    * @throws FactoryConfigurationError
+    * @throws SaxonApiException when the parser has problems with the given 
xml or xpath query
+    * @throws FactoryConfigurationError when the parser can not be instantiated
     */
    public static void computeAssertionResultUsingSaxon(AssertionResult result, 
String xmlFile, String xPathQuery,
            String namespaces, Boolean isNegated) throws SaxonApiException, 
FactoryConfigurationError {
@@ -695,7 +695,7 @@ public class XPathUtil {
            return;
        }
        try (StringReader reader = new StringReader(xmlFile)) {
-           // We could instanciate it once but might trigger issues in the 
future
+           // We could instantiate it once but might trigger issues in the 
future
            // Sharing of a DocumentBuilder across multiple threads is not 
recommended.
            // However, in the current implementation sharing a DocumentBuilder 
(once
            // initialized)

Reply via email to