Skip to content

Commit 42afb34

Browse files
authoredFeb 15, 2025··
Merge pull request #949 from marilynel/master
deprecated unnecessary setter method
2 parents c524cd1 + a746322 commit 42afb34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/main/java/org/json/JSONTokener.java

+3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ public JSONParserConfiguration getJsonParserConfiguration() {
112112
/**
113113
* Setter
114114
* @param jsonParserConfiguration new value for jsonParserConfiguration
115+
*
116+
* @deprecated method should not be used
115117
*/
118+
@Deprecated
116119
public void setJsonParserConfiguration(JSONParserConfiguration jsonParserConfiguration) {
117120
this.jsonParserConfiguration = jsonParserConfiguration;
118121
}

0 commit comments

Comments
 (0)
Please sign in to comment.