diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-03-16 10:57:58 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-03-16 10:57:58 -0700 |
commit | 38b778b364061dc87899e7fe0e3efd2502a538fd (patch) | |
tree | 3416e711aaaf89958222375e410832eeb2dd2b5a | |
parent | 6abe2582f9dea9887b4cf6cdee200246b6e86117 (diff) | |
download | android_dalvik-38b778b364061dc87899e7fe0e3efd2502a538fd.tar.gz android_dalvik-38b778b364061dc87899e7fe0e3efd2502a538fd.tar.bz2 android_dalvik-38b778b364061dc87899e7fe0e3efd2502a538fd.zip |
Fixing an @link issue that is upsetting DroidDoc.
Change-Id: I9837cfd46684ac6d5b9ec4ac6809da3c3f61d57d
-rw-r--r-- | libcore/json/src/main/java/org/json/JSONTokener.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcore/json/src/main/java/org/json/JSONTokener.java b/libcore/json/src/main/java/org/json/JSONTokener.java index d5d2dd289..3b0f593fc 100644 --- a/libcore/json/src/main/java/org/json/JSONTokener.java +++ b/libcore/json/src/main/java/org/json/JSONTokener.java @@ -482,8 +482,8 @@ public class JSONTokener { * * <p>The returned string shares its backing character array with this * tokener's input string. If a reference to the returned string may be held - * indefinitely, you should {@link String(String) copy} it first to avoid - * memory leaks. + * indefinitely, you should use {@code new String(result)} to copy it first + * to avoid memory leaks. * * @throws JSONException if the remaining input is not long enough to * satisfy this request. @@ -508,8 +508,8 @@ public class JSONTokener { * * <p>The returned string shares its backing character array with this * tokener's input string. If a reference to the returned string may be held - * indefinitely, you should {@link String(String) copy} it first to avoid - * memory leaks. + * indefinitely, you should use {@code new String(result)} to copy it first + * to avoid memory leaks. * * @return a possibly-empty string */ |