diff --git a/src/main/java/org/json/JSONDuplicateKeyStrategy.java b/src/main/java/org/json/JSONDuplicateKeyStrategy.java
index 4652dbc..954ac3a 100644
--- a/src/main/java/org/json/JSONDuplicateKeyStrategy.java
+++ b/src/main/java/org/json/JSONDuplicateKeyStrategy.java
@@ -6,7 +6,7 @@ package org.json;
*/
public enum JSONDuplicateKeyStrategy {
/**
- * The default value. And this is the way it used to be in the previous versions.
+ * The default value. And this is the way it used to be in the previous versions.
* The JSONParser will throw an {@link JSONException} when meet duplicate key.
*/
THROW_EXCEPTION,
diff --git a/src/main/java/org/json/JSONObject.java b/src/main/java/org/json/JSONObject.java
index e7d5cd5..1572a81 100644
--- a/src/main/java/org/json/JSONObject.java
+++ b/src/main/java/org/json/JSONObject.java
@@ -256,7 +256,7 @@ public class JSONObject {
case MERGE_INTO_ARRAY:
if (mergedKeys == null) {
- mergedKeys = new ArrayList<>();
+ mergedKeys = new ArrayList();
}
Object current = this.get(key);