Backed out changeset 2a68f9e36564 draft
authorSwaroop Rao <swaroop.rao@gmail.com>
Thu, 17 Nov 2016 10:24:16 -0500
changeset 440479 dc995ef5b36196b96ebc7174f9d3c2c81a875d93
parent 440478 cd39577fe74c35146e1801282f76da4951f90964
child 440480 10067cef70f887fff3879cee054d7919f235f242
push id36228
push userbmo:swaroop.rao@gmail.com
push dateThu, 17 Nov 2016 15:40:41 +0000
milestone52.0a1
backs out2a68f9e36564c01910d118261b436c17816ae677
Backed out changeset 2a68f9e36564 MozReview-Commit-ID: EqrHsNK3Zsq
mobile/android/services/src/main/java/org/mozilla/gecko/sync/ExtendedJSONObject.java
--- 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);
   }