fix: use `new ArrayList()` instead of `Lists.copyOf()`
@@ -30,6 +30,7 @@ import javax.annotation.Nullable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
+import java.util.ArrayList;
import java.util.Objects;
import java.util.concurrent.TimeoutException;
@@ -438,7 +439,7 @@ public class ContractCreateFlow implements WithExecute<TransactionResponse> {
*/
public ContractCreateFlow setNodeAccountIds(List<AccountId> nodeAccountIds) {
Objects.requireNonNull(nodeAccountIds);
- this.nodeAccountIds = Lists.copyOf(nodeAccountIds);
+ this.nodeAccountIds = new ArrayList(nodeAccountIds);
return this;
}
