Skip to content

Commit 73c5155

Browse files
committed
Revert whitespace.
1 parent 70f0dd9 commit 73c5155

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

JSONArray.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ public JSONArray put(int index, Object value) throws JSONException {
10131013
}
10141014
return this;
10151015
}
1016-
1016+
10171017
/**
10181018
* Creates a JSONPointer using an initialization string and tries to
10191019
* match it to an item within this JSONArray. For example, given a
@@ -1029,14 +1029,14 @@ public JSONArray put(int index, Object value) throws JSONException {
10291029
* </pre>
10301030
* Then this method will return the String "c"
10311031
* A JSONPointerException may be thrown from code called by this method.
1032-
*
1032+
*
10331033
* @param jsonPointer string that can be used to create a JSONPointer
10341034
* @return the item matched by the JSONPointer, otherwise null
10351035
*/
10361036
public Object query(String jsonPointer) {
10371037
return new JSONPointer(jsonPointer).queryFrom(this);
10381038
}
1039-
1039+
10401040
/**
10411041
* Queries and returns a value from this object using {@code jsonPointer}, or
10421042
* returns null if the query fails due to a missing key.

JSONObject.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public Object get(String key) throws JSONException {
474474

475475
/**
476476
* Get the enum value associated with a key.
477-
*
477+
*
478478
* @param clazz
479479
* The type of enum to retrieve.
480480
* @param key
@@ -529,7 +529,7 @@ public boolean getBoolean(String key) throws JSONException {
529529
* A key string.
530530
* @return The numeric value.
531531
* @throws JSONException
532-
* if the key is not found or if the value cannot
532+
* if the key is not found or if the value cannot
533533
* be converted to BigInteger.
534534
*/
535535
public BigInteger getBigInteger(String key) throws JSONException {
@@ -873,7 +873,7 @@ public Object opt(String key) {
873873

874874
/**
875875
* Get the enum value associated with a key.
876-
*
876+
*
877877
* @param clazz
878878
* The type of enum to retrieve.
879879
* @param key
@@ -886,7 +886,7 @@ public <E extends Enum<E>> E optEnum(Class<E> clazz, String key) {
886886

887887
/**
888888
* Get the enum value associated with a key.
889-
*
889+
*
890890
* @param clazz
891891
* The type of enum to retrieve.
892892
* @param key
@@ -1391,32 +1391,32 @@ public JSONObject putOpt(String key, Object value) throws JSONException {
13911391
}
13921392

13931393
/**
1394-
* Creates a JSONPointer using an intialization string and tries to
1394+
* Creates a JSONPointer using an intialization string and tries to
13951395
* match it to an item within this JSONObject. For example, given a
13961396
* JSONObject initialized with this document:
13971397
* <pre>
13981398
* {
13991399
* "a":{"b":"c"}
14001400
* }
14011401
* </pre>
1402-
* and this JSONPointer string:
1402+
* and this JSONPointer string:
14031403
* <pre>
14041404
* "/a/b"
14051405
* </pre>
14061406
* Then this method will return the String "c".
14071407
* A JSONPointerException may be thrown from code called by this method.
1408-
*
1408+
*
14091409
* @param jsonPointer string that can be used to create a JSONPointer
14101410
* @return the item matched by the JSONPointer, otherwise null
14111411
*/
14121412
public Object query(String jsonPointer) {
14131413
return new JSONPointer(jsonPointer).queryFrom(this);
14141414
}
1415-
1415+
14161416
/**
14171417
* Queries and returns a value from this object using {@code jsonPointer}, or
14181418
* returns null if the query fails due to a missing key.
1419-
*
1419+
*
14201420
* @param jsonPointer the string representation of the JSON pointer
14211421
* @return the queried value or {@code null}
14221422
* @throws IllegalArgumentException if {@code jsonPointer} has invalid syntax

0 commit comments

Comments
 (0)