Skip to content

Commit ebf08f5

Browse files
committed
Merge pull request #226 from stleary/restore-1.6-compatibility
fix to compile with 1.6.0_45
2 parents f239dc7 + 1ca8933 commit ebf08f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ public Writer write(Writer writer, int indentFactor, int indent)
18421842
* @return a java.util.Map containing the entrys of this object
18431843
*/
18441844
public Map<String, Object> toMap() {
1845-
Map<String, Object> results = new HashMap<>();
1845+
Map<String, Object> results = new HashMap<String, Object>();
18461846
for (Entry<String, Object> entry : this.map.entrySet()) {
18471847
Object value;
18481848
if (entry.getValue() == null || NULL.equals(entry.getValue())) {

0 commit comments

Comments
 (0)