--- a/mobile/android/services/src/main/java/org/mozilla/gecko/sync/ExtendedJSONObject.java
+++ b/mobile/android/services/src/main/java/org/mozilla/gecko/sync/ExtendedJSONObject.java
@@ -20,17 +20,17 @@ import java.util.Map.Entry;
import java.util.Set;
/**
* Extend JSONObject to do little things, like, y'know, accessing members.
*
* @author rnewman
*
*/
-public class ExtendedJSONObject implements Cloneable {
+public class ExtendedJSONObject {
public JSONObject object;
/**
* Return a <code>JSONParser</code> instance for immediate use.
* <p>
* <code>JSONParser</code> is not thread-safe, so we return a new instance
* each call. This is extremely inefficient in execution time and especially
@@ -169,17 +169,17 @@ public class ExtendedJSONObject implemen
}
}
public ExtendedJSONObject(String jsonString) throws IOException, NonObjectJSONException {
this(jsonString == null ? null : new StringReader(jsonString));
}
@Override
- public ExtendedJSONObject clone() throws CloneNotSupportedException {
+ public ExtendedJSONObject clone() {
return new ExtendedJSONObject((JSONObject) this.object.clone());
}
// Passthrough methods.
public Object get(String key) {
return this.object.get(key);
}