Fix docs build.
Javadoc referred to a hidden method via a {@link} tag.
Change-Id: I18fc8a05aacd17bdc5fffe4f08870aa3d6d47b93
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 @@
* 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 @@
* 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) {