List.of IDE suggestions refactoring

pull/1323/head
David Asunmo 2025-07-08 07:23:58 +01:00 zatwierdzone przez Stypox
rodzic 93328a38e6
commit 73d93f8315
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4BDF1B40A49FDD23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -7,7 +7,6 @@ import org.schabi.newpipe.extractor.downloader.Response;
import org.schabi.newpipe.extractor.exceptions.ReCaptchaException;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
@ -35,7 +34,7 @@ public final class DownloaderTestImpl extends Downloader {
// Required for certain services
// For example Bandcamp otherwise fails on Windows with Java 17+
// as their Fastly-CDN returns 403
.connectionSpecs(Arrays.asList(ConnectionSpec.RESTRICTED_TLS))
.connectionSpecs(List.of(ConnectionSpec.RESTRICTED_TLS))
.build());
}