Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-05-03 21:20:12 +0000
committerSteffen Pingel2013-05-03 21:20:12 +0000
commite0f0d441d846e4c8dec98767bd1a5f584e8e8ceb (patch)
treef866a85a12e75269cfc0203b4c08e411887d6d08 /org.eclipse.mylyn.bugzilla.core/src/org
parent2dc5856cb4a08832727818afd88cd809b29ff295 (diff)
downloadorg.eclipse.mylyn.tasks-e0f0d441d846e4c8dec98767bd1a5f584e8e8ceb.tar.gz
org.eclipse.mylyn.tasks-e0f0d441d846e4c8dec98767bd1a5f584e8e8ceb.tar.xz
org.eclipse.mylyn.tasks-e0f0d441d846e4c8dec98767bd1a5f584e8e8ceb.zip
406959: use SAXParserFactory instead of XMLReaderFactory
Change-Id: I025b2878056d4b642936853b588a2ef23a4ffba9 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=406959
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src/org')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java
index 1d4868b69..972cdb511 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java
@@ -20,6 +20,7 @@ import java.io.Reader;
import java.io.StringReader;
import java.security.GeneralSecurityException;
+import org.eclipse.mylyn.commons.core.CoreUtil;
import org.xml.sax.EntityResolver;
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
@@ -27,7 +28,6 @@ import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
-import org.xml.sax.helpers.XMLReaderFactory;
/**
* @author Rob Elves
@@ -87,7 +87,7 @@ public class AbstractReportFactory {
}
try {
- final XMLReader reader = XMLReaderFactory.createXMLReader();
+ final XMLReader reader = CoreUtil.newXmlReader();
reader.setFeature("http://xml.org/sax/features/validation", false); //$NON-NLS-1$
reader.setContentHandler(contentHandler);

Back to the top