We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb3f189 commit 6152ed2Copy full SHA for 6152ed2
src/main/java/org/apache/ibatis/io/VFS.java
@@ -50,8 +50,7 @@ private static class VFSHolder {
50
@SuppressWarnings("unchecked")
51
static VFS createVFS() {
52
// Try the user implementations first, then the built-ins
53
- List<Class<? extends VFS>> impls = new ArrayList<>();
54
- impls.addAll(USER_IMPLEMENTATIONS);
+ List<Class<? extends VFS>> impls = new ArrayList<>(USER_IMPLEMENTATIONS);
55
impls.addAll(Arrays.asList((Class<? extends VFS>[]) IMPLEMENTATIONS));
56
57
// Try each implementation class until a valid one is found
0 commit comments