Skip to content

Commit

Permalink
Suppress deprecation warnings in JSONHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
c-refice committed May 28, 2024
1 parent 9173929 commit 0c44423
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public JSONObjectBuilder add(String key, JSONStringBuilder value) {

/** @since 0.8 or earlier */
@Override
@SuppressWarnings("deprecation")
protected void appendTo(StringBuilder sb) {
sb.append("{");
boolean comma = false;
Expand Down Expand Up @@ -222,6 +223,7 @@ public JSONArrayBuilder add(JSONStringBuilder value) {

/** @since 0.8 or earlier */
@Override
@SuppressWarnings("deprecation")
protected void appendTo(StringBuilder sb) {
sb.append("[");
boolean comma = false;
Expand Down

0 comments on commit 0c44423

Please sign in to comment.