Skip to content

Commit c324cff

Browse files
author
Tamas Balog
committed
Remove unnecessary access modifiers
1 parent 1a6b90f commit c324cff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/json/JSONString.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
66
* The toJSONString method will be used instead of the default behavior of using the
77
* Object's toString() method and quoting the result.
8-
*
8+
*
99
* @author sasdjb
1010
*
1111
*/
@@ -15,6 +15,6 @@ public interface JSONString {
1515
* The toJSONString method allows a class to produce its own JSON
1616
* serialization.
1717
* */
18-
public String toJSONString();
18+
String toJSONString();
1919

2020
}

src/main/java/org/skyscreamer/jsonassert/JSONCompareMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public enum JSONCompareMode {
5252
private final boolean _extensible;
5353
private final boolean _strictOrder;
5454

55-
private JSONCompareMode(boolean extensible, boolean strictOrder) {
55+
JSONCompareMode(boolean extensible, boolean strictOrder) {
5656
_extensible = extensible;
5757
_strictOrder = strictOrder;
5858
}

0 commit comments

Comments
 (0)