summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2017-12-07 13:54:16 +0000
committer android-build-merger <android-build-merger@google.com> 2017-12-07 13:54:16 +0000
commit26d28ef8264e4066c402a1027adc9b4a70a919c8 (patch)
treea7e8d95b0d5c07f181f8765cf006ae690ec5e54c
parenta241b4d4884fb3cc76158630f086fd871429c641 (diff)
parente08f918a6e0a08d7d09c6f5c00a9c8de92e6f84c (diff)
Merge "Fix doc typo. Improve class javadoc..."
am: e08f918a6e Change-Id: I2e933a55ce3b239ad9a2afee964d288dcbd04a11
-rw-r--r--core/java/android/content/res/XmlResourceParser.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/java/android/content/res/XmlResourceParser.java b/core/java/android/content/res/XmlResourceParser.java
index 5af49d4d46a2..6be9b9eb0438 100644
--- a/core/java/android/content/res/XmlResourceParser.java
+++ b/core/java/android/content/res/XmlResourceParser.java
@@ -16,20 +16,19 @@
package android.content.res;
-import org.xmlpull.v1.XmlPullParser;
-
import android.util.AttributeSet;
+import org.xmlpull.v1.XmlPullParser;
+
/**
* The XML parsing interface returned for an XML resource. This is a standard
- * XmlPullParser interface, as well as an extended AttributeSet interface and
- * an additional close() method on this interface for the client to indicate
- * when it is done reading the resource.
+ * {@link XmlPullParser} interface but also extends {@link AttributeSet} and
+ * adds an additional {@link #close()} method for the client to indicate when
+ * it is done reading the resource.
*/
public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable {
/**
- * Close this interface to the resource. Calls on the interface are no
- * longer value after this call.
+ * Close this parser. Calls on the interface are no longer valid after this call.
*/
public void close();
}