ham1 commented on a change in pull request #632:
URL: https://github.com/apache/jmeter/pull/632#discussion_r507541080



##########
File path: 
src/components/src/main/java/org/apache/jmeter/assertions/XMLAssertion.java
##########
@@ -45,10 +48,12 @@
         @Override
         protected XMLReader initialValue() {
             try {
-                XMLReader reader = XMLReaderFactory.createXMLReader();
+                SAXParserFactory saxParserFactory = 
SAXParserFactory.newInstance();

Review comment:
       Do we need all the intermediary variables? e.g.
   ```
   XMLReader reader =
           SAXParserFactory.newInstance().newSAXParser().getXMLReader();
   ````




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to