Skip to content

Commit 6152ed2

Browse files
committed
[ci] Smarter list creation
1 parent fb3f189 commit 6152ed2

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/org/apache/ibatis/io

1 file changed

+1
-2
lines changed

src/main/java/org/apache/ibatis/io/VFS.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ private static class VFSHolder {
5050
@SuppressWarnings("unchecked")
5151
static VFS createVFS() {
5252
// Try the user implementations first, then the built-ins
53-
List<Class<? extends VFS>> impls = new ArrayList<>();
54-
impls.addAll(USER_IMPLEMENTATIONS);
53+
List<Class<? extends VFS>> impls = new ArrayList<>(USER_IMPLEMENTATIONS);
5554
impls.addAll(Arrays.asList((Class<? extends VFS>[]) IMPLEMENTATIONS));
5655

5756
// Try each implementation class until a valid one is found

0 commit comments

Comments
 (0)