1
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-10-06 00:23:15 +02:00

List.of IDE suggestions refactoring

This commit is contained in:
David Asunmo
2025-07-08 07:23:58 +01:00
committed by Stypox
parent 93328a38e6
commit 73d93f8315

View File

@@ -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());
}