File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/main/java/org/apache/ibatis/builder/xml Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -426,14 +426,12 @@ private void bindMapperForNamespace() {
426
426
} catch (ClassNotFoundException e ) {
427
427
//ignore, bound type is not required
428
428
}
429
- if (boundType != null ) {
430
- if (!configuration .hasMapper (boundType )) {
431
- // Spring may not know the real resource name so we set a flag
432
- // to prevent loading again this resource from the mapper interface
433
- // look at MapperAnnotationBuilder#loadXmlResource
434
- configuration .addLoadedResource ("namespace:" + namespace );
435
- configuration .addMapper (boundType );
436
- }
429
+ if (boundType != null && !configuration .hasMapper (boundType )) {
430
+ // Spring may not know the real resource name so we set a flag
431
+ // to prevent loading again this resource from the mapper interface
432
+ // look at MapperAnnotationBuilder#loadXmlResource
433
+ configuration .addLoadedResource ("namespace:" + namespace );
434
+ configuration .addMapper (boundType );
437
435
}
438
436
}
439
437
}
You can’t perform that action at this time.
0 commit comments