mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
fix to compile with 1.6.0_45
This commit is contained in:
@@ -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())) {
|
||||
|
Reference in New Issue
Block a user