From 1ca8933a8ffeae7be679668e71a64bbb9da0a121 Mon Sep 17 00:00:00 2001 From: stleary Date: Thu, 28 Apr 2016 22:12:16 -0500 Subject: [PATCH] fix to compile with 1.6.0_45 --- JSONObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) {