Skip to content

Commit 9c65bb7

Browse files
committed
Updating to work with java 1.6
1 parent f155632 commit 9c65bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/json/JSONObject.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ else if (!rawType.isPrimitive() && !rawType.isEnum() && value instanceof JSONObj
35043504
public Map create() {
35053505
return new HashMap();
35063506
}
3507-
});
3507+
};
35083508
@SuppressWarnings("unchecked")
35093509
Map<Object, Object> createdMap = (Map<Object, Object>) creator.create();
35103510

@@ -3547,7 +3547,7 @@ private <T> Collection<T> fromJsonArray(JSONArray jsonArray, Class<?> collection
35473547
public List create() {
35483548
return new ArrayList();
35493549
}
3550-
});
3550+
};
35513551
Collection<T> collection = (Collection<T>) creator.create();
35523552

35533553
for (int i = 0; i < jsonArray.length(); i++) {

0 commit comments

Comments
 (0)