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 | d79a9eede731ac48cfeb152ca59f8dd574ae1284 (patch) | |
tree | 7d08c6a83b481ece6229f61dd7e5ce8968d7560f /json | |
parent | a10509b68308e2bff501ece4862434108900c249 (diff) | |
download | libcore-d79a9eede731ac48cfeb152ca59f8dd574ae1284.zip libcore-d79a9eede731ac48cfeb152ca59f8dd574ae1284.tar.gz libcore-d79a9eede731ac48cfeb152ca59f8dd574ae1284.tar.bz2 |
Fixing an @link issue that is upsetting DroidDoc.
Change-Id: I9837cfd46684ac6d5b9ec4ac6809da3c3f61d57d
Diffstat (limited to 'json')
-rw-r--r-- | json/src/main/java/org/json/JSONTokener.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/json/src/main/java/org/json/JSONTokener.java b/json/src/main/java/org/json/JSONTokener.java index d5d2dd2..3b0f593 100644 --- a/json/src/main/java/org/json/JSONTokener.java +++ b/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 */ |