File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/io/simplelocalize/cli Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ public void upload(
167167 }
168168
169169 List <String > effectiveUploadOptions = new ArrayList <>();
170-
171170 List <String > configurationUploadOptions = configuration .getUploadOptions ();
172171 if (configurationUploadOptions != null )
173172 {
@@ -249,7 +248,7 @@ public void download(
249248 {
250249 configuration .setCustomerId (customerId );
251250 }
252- configuration .setDownloadOptions (Objects .requireNonNullElseGet (downloadOptions , List :: of ));
251+ configuration .setDownloadOptions (Objects .requireNonNullElseGet (downloadOptions , ArrayList :: new ));
253252 ConfigurationValidator configurationValidator = new ConfigurationValidator ();
254253 configurationValidator .validateDownloadConfiguration (configuration );
255254 SimpleLocalizeClient client = SimpleLocalizeClient .create (configuration .getBaseUrl (), configuration .getApiKey ());
You can’t perform that action at this time.
0 commit comments