diff options
author | Elliott Hughes <enh@google.com> | 2013-10-15 13:17:37 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-10-15 13:17:37 -0700 |
commit | adf1aa88864d176ab08f95b9ea6fffc744b64ae7 (patch) | |
tree | e381554bf1d05e23f906b80c15f84a9b67890947 /libdvm/src | |
parent | 25b1b911b7ce3c689ee4991564fba8895d08e80e (diff) | |
download | libcore-adf1aa88864d176ab08f95b9ea6fffc744b64ae7.zip libcore-adf1aa88864d176ab08f95b9ea6fffc744b64ae7.tar.gz libcore-adf1aa88864d176ab08f95b9ea6fffc744b64ae7.tar.bz2 |
Improve the charAt documentation.
Bug: https://code.google.com/p/android/issues/detail?id=61010
Change-Id: Iecdda7dfd9d47b2269ae7713b4a7cdb340f9219a
Diffstat (limited to 'libdvm/src')
-rw-r--r-- | libdvm/src/main/java/java/lang/String.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libdvm/src/main/java/java/lang/String.java b/libdvm/src/main/java/java/lang/String.java index 27469f0..4d34d07 100644 --- a/libdvm/src/main/java/java/lang/String.java +++ b/libdvm/src/main/java/java/lang/String.java @@ -565,13 +565,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) { |