diff --git a/JSONObject.java b/JSONObject.java index aa227ff..ed86fab 100644 --- a/JSONObject.java +++ b/JSONObject.java @@ -93,7 +93,7 @@ import java.util.Set; * * * @author JSON.org - * @version 2016-05-20 + * @version 2016-08-15 */ public class JSONObject { /** @@ -132,6 +132,7 @@ public class JSONObject { * * @return The string "null". */ + @Override public String toString() { return "null"; } @@ -1621,6 +1622,7 @@ public class JSONObject { * brace) and ending with } (right * brace). */ + @Override public String toString() { try { return this.toString(0); @@ -1880,13 +1882,13 @@ public class JSONObject { } /** - * Returns a java.util.Map containing all of the entrys in this object. + * Returns a java.util.Map containing all of the entries in this object. * If an entry in the object is a JSONArray or JSONObject it will also * be converted. *

* Warning: This method assumes that the data structure is acyclical. * - * @return a java.util.Map containing the entrys of this object + * @return a java.util.Map containing the entries of this object */ public Map toMap() { Map results = new HashMap();