From 86f018c835a271d7fa63be70e6e0602f22868d8e Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 13 Jan 2014 12:33:20 +0000 Subject: Fix docs build. Javadoc referred to a hidden method via a {@link} tag. Change-Id: I18fc8a05aacd17bdc5fffe4f08870aa3d6d47b93 --- json/src/main/java/org/json/JSONObject.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'json/src') 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. * - *

Note that {@link #append(String, Object)} provides better semantics. + *

Note that {@code append(String, Object)} provides better semantics. * In particular, the mapping for {@code name} will always 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) { -- cgit v1.1