Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade org.json:json from 20231013 to 20240303 #1007

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -18,7 +18,7 @@ ext {
hamcrest : 'org.hamcrest:hamcrest:2.2',
jacksonDatabind: 'com.fasterxml.jackson.core:jackson-databind:2.16.1',
jettison : 'org.codehaus.jettison:jettison:1.5.4',
jsonOrg : 'org.json:json:20231013',
jsonOrg : 'org.json:json:20240303',
tapestryJson : 'org.apache.tapestry:tapestry-json:5.8.3',
jakartaJsonP : 'jakarta.json:jakarta.json-api:2.0.2',
jakartaJsonB : 'jakarta.json.bind:jakarta.json.bind-api:2.0.0',
Expand Down
Expand Up @@ -5,7 +5,6 @@
import com.jayway.jsonpath.JsonPathException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;

import java.io.InputStream;
Expand Down Expand Up @@ -128,6 +127,7 @@ public void setProperty(Object obj, Object key, Object value) {
}
}

@Override
@SuppressWarnings("unchecked")
public void removeProperty(Object obj, Object key) {
if (isMap(obj))
Expand Down