Skip to content

Commit 73d93f8

Browse files
absurdlylongusernameStypox
authored andcommitted
List.of IDE suggestions refactoring
1 parent 93328a3 commit 73d93f8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import org.schabi.newpipe.extractor.exceptions.ReCaptchaException;
88

99
import java.io.IOException;
10-
import java.util.Arrays;
1110
import java.util.List;
1211
import java.util.Map;
1312
import java.util.concurrent.TimeUnit;
@@ -35,7 +34,7 @@ private DownloaderTestImpl(final OkHttpClient.Builder builder) {
3534
// Required for certain services
3635
// For example Bandcamp otherwise fails on Windows with Java 17+
3736
// as their Fastly-CDN returns 403
38-
.connectionSpecs(Arrays.asList(ConnectionSpec.RESTRICTED_TLS))
37+
.connectionSpecs(List.of(ConnectionSpec.RESTRICTED_TLS))
3938
.build());
4039
}
4140

0 commit comments

Comments
 (0)