@@ -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