File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -139,10 +139,6 @@ public long getTemplateVersionNumber() {
139
139
return templateVersionNumber ;
140
140
}
141
141
142
- public ConfigContainer getCopy () throws JSONException {
143
- return ConfigContainer .copyOf (containerJson );
144
- }
145
-
146
142
@ Override
147
143
public String toString () {
148
144
return containerJson .toString ();
@@ -168,7 +164,7 @@ public boolean equals(Object o) {
168
164
*/
169
165
public Set <String > getChangedParams (ConfigContainer other ) throws JSONException {
170
166
// Make a copy of the other config before modifying it
171
- JSONObject otherConfig = other . getCopy ( ).getConfigs ();
167
+ JSONObject otherConfig = ConfigContainer . copyOf ( other . containerJson ).getConfigs ();
172
168
173
169
// Experiments aren't associated with params, so we can just compare arrays once
174
170
Boolean experimentsChanged = !this .getAbtExperiments ().equals (other .getAbtExperiments ());
You can’t perform that action at this time.
0 commit comments