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:
@@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user