1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

fix to compile with 1.6.0_45

This commit is contained in:
stleary 2016-04-28 22:12:16 -05:00
parent 25a87975be
commit 1ca8933a8f

View file

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