aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-09 11:37:30 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-09 11:37:30 +0200
commit0cda7f78195dd3eb8fb9ab247b5973c62d64204d (patch)
treef7dec3d22d3f8e6359c127b5a1b6fd0d8262d981 /src/eu
parentd486d5def9a98f439f374c81a7b5795b3508c19d (diff)
work around xml parser issues...
Diffstat (limited to 'src/eu')
-rw-r--r--src/eu/siacs/conversations/xml/XmlReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java
index 0a74dbfb..25d3fe38 100644
--- a/src/eu/siacs/conversations/xml/XmlReader.java
+++ b/src/eu/siacs/conversations/xml/XmlReader.java
@@ -54,7 +54,7 @@ public class XmlReader {
try { wakeLock.release();} catch (RuntimeException re) {}
}
try {
- while(parser.next() != XmlPullParser.END_DOCUMENT && this.is != null) {
+ while(this.is != null && parser.next() != XmlPullParser.END_DOCUMENT) {
wakeLock.acquire();
if (parser.getEventType() == XmlPullParser.START_TAG) {
Tag tag = Tag.start(parser.getName());