From 73d93f83152538e29fcf73a809f807ed404bccae Mon Sep 17 00:00:00 2001 From: David Asunmo <22662897+davidasunmo@users.noreply.github.com.> Date: Tue, 8 Jul 2025 07:23:58 +0100 Subject: [PATCH] List.of IDE suggestions refactoring --- .../java/org/schabi/newpipe/downloader/DownloaderTestImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java b/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java index 091db071d..6fd0c4c7c 100644 --- a/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java +++ b/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java @@ -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()); }