Skip to content

Commit bb1deb7

Browse files
committed
Fix warning
1 parent 7c25e9c commit bb1deb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/binding/MapperMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public SqlCommand(Configuration configuration, Class<?> mapperInterface, Method
182182
MappedStatement ms = null;
183183
if (configuration.hasStatement(statementName)) {
184184
ms = configuration.getMappedStatement(statementName);
185-
} else if (!mapperInterface.equals(method.getDeclaringClass().getName())) { // issue #35
185+
} else if (!mapperInterface.equals(method.getDeclaringClass())) { // issue #35
186186
String parentStatementName = method.getDeclaringClass().getName() + "." + method.getName();
187187
if (configuration.hasStatement(parentStatementName)) {
188188
ms = configuration.getMappedStatement(parentStatementName);

0 commit comments

Comments
 (0)