summaryrefslogtreecommitdiffstats
path: root/json
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-01-13 12:33:20 +0000
committerNarayan Kamath <narayan@google.com>2014-01-13 12:33:38 +0000
commit86f018c835a271d7fa63be70e6e0602f22868d8e (patch)
tree7802d4cdfa4dfa8bef98f5c99312cce12141aa5d /json
parentfdbcd4fbefa4ff049029f87660409f29c057433b (diff)
downloadlibcore-86f018c835a271d7fa63be70e6e0602f22868d8e.zip
libcore-86f018c835a271d7fa63be70e6e0602f22868d8e.tar.gz
libcore-86f018c835a271d7fa63be70e6e0602f22868d8e.tar.bz2
Fix docs build.
Javadoc referred to a hidden method via a {@link} tag. Change-Id: I18fc8a05aacd17bdc5fffe4f08870aa3d6d47b93
Diffstat (limited to 'json')
-rw-r--r--json/src/main/java/org/json/JSONObject.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/json/src/main/java/org/json/JSONObject.java b/json/src/main/java/org/json/JSONObject.java
index 952fb85..da34219 100644
--- a/json/src/main/java/org/json/JSONObject.java
+++ b/json/src/main/java/org/json/JSONObject.java
@@ -283,7 +283,7 @@ public class JSONObject {
* mapped to {@code name}. In aggregate, this allows values to be added to a
* mapping one at a time.
*
- * <p> Note that {@link #append(String, Object)} provides better semantics.
+ * <p> Note that {@code append(String, Object)} provides better semantics.
* In particular, the mapping for {@code name} will <b>always</b> be a
* {@link JSONArray}. Using {@code accumulate} will result in either a
* {@link JSONArray} or a mapping whose type is the type of {@code value}
@@ -293,6 +293,8 @@ public class JSONObject {
* Integer, Long, Double, {@link #NULL} or null. May not be {@link
* Double#isNaN() NaNs} or {@link Double#isInfinite() infinities}.
*/
+ // TODO: Change {@code append) to {@link #append} when append is
+ // unhidden.
public JSONObject accumulate(String name, Object value) throws JSONException {
Object current = nameValuePairs.get(checkName(name));
if (current == null) {