diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-12-19 15:31:22 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-12-19 15:31:22 +0100 |
commit | f6c31804ecab33d35ba31422d54c18f26ddfb706 (patch) | |
tree | 855bd14a19d50a5fade624311fe90e54344fa9f3 /src/de/danoeh | |
parent | c6552709ae6df3271b5a69fba488a8da3b7f7304 (diff) | |
parent | bda6cfb379dfcfb73f274b64b59a1e6844053816 (diff) | |
download | AntennaPod-f6c31804ecab33d35ba31422d54c18f26ddfb706.zip |
Merge branch 'parse-invalid-opml' of git://github.com/arantius/AntennaPod into arantius-parse-invalid-opml
Diffstat (limited to 'src/de/danoeh')
-rw-r--r-- | src/de/danoeh/antennapod/opml/OpmlReader.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/de/danoeh/antennapod/opml/OpmlReader.java b/src/de/danoeh/antennapod/opml/OpmlReader.java index c05ce61e2..61a00742c 100644 --- a/src/de/danoeh/antennapod/opml/OpmlReader.java +++ b/src/de/danoeh/antennapod/opml/OpmlReader.java @@ -17,7 +17,6 @@ public class OpmlReader { // ATTRIBUTES private boolean isInOpml = false; - private boolean isInBody = false; private ArrayList<OpmlElement> elementList; /** @@ -47,12 +46,7 @@ public class OpmlReader { isInOpml = true; if (AppConfig.DEBUG) Log.d(TAG, "Reached beginning of OPML tree."); - } else if (isInOpml && xpp.getName().equals(OpmlSymbols.BODY)) { - isInBody = true; - if (AppConfig.DEBUG) - Log.d(TAG, "Reached beginning of body tree."); - - } else if (isInBody && xpp.getName().equals(OpmlSymbols.OUTLINE)) { + } else if (isInOpml && xpp.getName().equals(OpmlSymbols.OUTLINE)) { if (AppConfig.DEBUG) Log.d(TAG, "Found new Opml element"); OpmlElement element = new OpmlElement(); |