Skip to content

Commit d7b0fcb

Browse files
committed
test to use List.of()
1 parent ebbc02e commit d7b0fcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jablib/src/test/java/org/jabref/logic/util/ExternalLinkCreatorTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.net.MalformedURLException;
44
import java.util.Collections;
5+
import java.util.List;
56
import java.util.Optional;
67

78
import org.jabref.logic.importer.ImporterPreferences;
@@ -27,7 +28,7 @@ public StubImporterPreferences() {
2728
Collections.emptySet(), // apiKeys
2829
Collections.emptyMap(), // defaultApiKeys
2930
true, // persistCustomKeys
30-
Collections.emptyList(), // catalogs
31+
List.of(), // catalogs
3132
null, // defaultPlainCitationParser
3233
Collections.emptyMap() // searchEngineUrlTemplates
3334
);

0 commit comments

Comments
 (0)