diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-11-04 14:02:20 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-11-04 14:02:20 -0700 |
commit | ccd79e2bb784cdbd89e90a0e4301a707091d446d (patch) | |
tree | 3eb0e619b9394bf16c6ad7781f67945004468d7f /xml/src/main/java/org/xmlpull | |
parent | 700ec1f739329bd2deede32cc72affa473d737cc (diff) | |
download | libcore-ccd79e2bb784cdbd89e90a0e4301a707091d446d.zip libcore-ccd79e2bb784cdbd89e90a0e4301a707091d446d.tar.gz libcore-ccd79e2bb784cdbd89e90a0e4301a707091d446d.tar.bz2 |
Style cleanup of some XML code.
Motivation: in preparation to refactor the Kxml code I'd like
to bring this code to a style consistent with the rest of
Android. This code style currently disagrees with my toolchain.
Change-Id: Ibd24570c131e792532e46f7f44c64abac3a6979a
http://b/3090550
Diffstat (limited to 'xml/src/main/java/org/xmlpull')
-rw-r--r-- | xml/src/main/java/org/xmlpull/v1/XmlPullParser.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xml/src/main/java/org/xmlpull/v1/XmlPullParser.java b/xml/src/main/java/org/xmlpull/v1/XmlPullParser.java index 66c8f4d..b2f5e39 100644 --- a/xml/src/main/java/org/xmlpull/v1/XmlPullParser.java +++ b/xml/src/main/java/org/xmlpull/v1/XmlPullParser.java @@ -92,8 +92,6 @@ import java.io.Reader; * while (eventType != XmlPullParser.END_DOCUMENT) { * if(eventType == XmlPullParser.START_DOCUMENT) { * System.out.println("Start document"); - * } else if(eventType == XmlPullParser.END_DOCUMENT) { - * System.out.println("End document"); * } else if(eventType == XmlPullParser.START_TAG) { * System.out.println("Start tag "+xpp.<a href="#getName()">getName()</a>); * } else if(eventType == XmlPullParser.END_TAG) { @@ -103,6 +101,7 @@ import java.io.Reader; * } * eventType = xpp.next(); * } + * System.out.println("End document"); * } * } * </pre> |