Skip to content

Commit

Permalink
CLDR-17548 deprecated re-box primitives in deprecated use of org.json…
Browse files Browse the repository at this point in the history
… in deprecated SurveyAjax

- fix an infinite recursion
- unbreak 'recent items'
  • Loading branch information
srl295 committed Apr 16, 2024
1 parent 26de8b7 commit 5778754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cldr-apps/src/main/java/org/json/JSONArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public JSONArray put(double value) throws JSONException {
* @return this.
*/
public JSONArray put(int value) {
put(value);
put(new Integer(value));
return this;
}

Expand All @@ -566,7 +566,7 @@ public JSONArray put(int value) {
* @return this.
*/
public JSONArray put(long value) {
put(value);
put(new Long(value));
return this;
}

Expand Down

0 comments on commit 5778754

Please sign in to comment.