summaryrefslogtreecommitdiffstats
path: root/xml/src/main/java/org/xmlpull
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-10-27 16:53:15 -0700
committerElliott Hughes <enh@google.com>2009-10-27 16:53:15 -0700
commitf54136e6f685aeafb8cee301ef7aea001cd238c3 (patch)
treea7d130672817ee68ba7319f46772ff1637a38504 /xml/src/main/java/org/xmlpull
parentd9179c4701153caeb821cf3da639b28465317508 (diff)
downloadlibcore-f54136e6f685aeafb8cee301ef7aea001cd238c3.zip
libcore-f54136e6f685aeafb8cee301ef7aea001cd238c3.tar.gz
libcore-f54136e6f685aeafb8cee301ef7aea001cd238c3.tar.bz2
Fix a few FindBugs warnings in code that isn't upstream.
Bugs: 2099642, 2099637
Diffstat (limited to 'xml/src/main/java/org/xmlpull')
-rw-r--r--xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java b/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java
index 7b786f6..7814651 100644
--- a/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java
+++ b/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java
@@ -252,6 +252,7 @@ public class XmlPullParserFactory {
public static XmlPullParserFactory newInstance (String classNames, Class context)
throws XmlPullParserException {
+ /*
if (context == null) {
//NOTE: make sure context uses the same class loader as API classes
// this is the best we can do without having access to context classloader in J2ME
@@ -259,7 +260,6 @@ public class XmlPullParserFactory {
context = referenceContextClass;
}
- /*
String classNamesLocation = null;
if (classNames == null || classNames.length() == 0 || "DEFAULT".equals(classNames)) {
@@ -345,5 +345,3 @@ public class XmlPullParserFactory {
return factory;
}
}
-
-