summaryrefslogtreecommitdiffstats
path: root/libart/src/main/java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-15 16:04:09 -0700
committerElliott Hughes <enh@google.com>2013-10-16 00:19:05 +0000
commit31891252fb2fd6ef2319341a25d1ae7fa1ed45cc (patch)
treeb0ae80381ae7495783267aa8caa7e65d837b0e02 /libart/src/main/java
parentc44e44509f2bcca1806f66264c0fc5d210271c96 (diff)
downloadlibcore-31891252fb2fd6ef2319341a25d1ae7fa1ed45cc.zip
libcore-31891252fb2fd6ef2319341a25d1ae7fa1ed45cc.tar.gz
libcore-31891252fb2fd6ef2319341a25d1ae7fa1ed45cc.tar.bz2
Fix libart String.charAt documentation to match libdvm.
Change-Id: I901d818e96af0b9240808bb70ccbe8a17854d485
Diffstat (limited to 'libart/src/main/java')
-rw-r--r--libart/src/main/java/java/lang/String.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/libart/src/main/java/java/lang/String.java b/libart/src/main/java/java/lang/String.java
index 385f549..ab36752 100644
--- a/libart/src/main/java/java/lang/String.java
+++ b/libart/src/main/java/java/lang/String.java
@@ -496,13 +496,8 @@ outer:
}
/**
- * Returns the character at the specified offset in this string.
- *
- * @param index
- * the zero-based index in this string.
- * @return the character at the index.
- * @throws IndexOutOfBoundsException
- * if {@code index < 0} or {@code index >= length()}.
+ * Returns the character at {@code index}.
+ * @throws IndexOutOfBoundsException if {@code index < 0} or {@code index >= length()}.
*/
public char charAt(int index) {
if (index < 0 || index >= count) {