diff --git a/JSONObject.java b/JSONObject.java index 852358b..03fb346 100644 --- a/JSONObject.java +++ b/JSONObject.java @@ -1842,7 +1842,7 @@ public class JSONObject { * @return a java.util.Map containing the entrys of this object */ public Map toMap() { - Map results = new HashMap<>(); + Map results = new HashMap(); for (Entry entry : this.map.entrySet()) { Object value; if (entry.getValue() == null || NULL.equals(entry.getValue())) {