Skip to content

Commit fd04f09

Browse files
authored
Update ClassLoaderWrapper.java
1 parent 7548814 commit fd04f09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ Class<?> classForName(String name, ClassLoader[] classLoader) throws ClassNotFou
185185

186186
Class<?> c = Class.forName(name, true, cl);
187187

188-
if (null != c) {
189-
return c;
190-
}
188+
return c;
191189

192190
} catch (ClassNotFoundException e) {
193191
// we'll ignore this until all classloaders fail to locate the class

0 commit comments

Comments
 (0)