Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
wuwen5 committed Apr 19, 2015
1 parent 7c25e9c commit bb1deb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/ibatis/binding/MapperMethod.java
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ public SqlCommand(Configuration configuration, Class<?> mapperInterface, Method
MappedStatement ms = null;
if (configuration.hasStatement(statementName)) {
ms = configuration.getMappedStatement(statementName);
} else if (!mapperInterface.equals(method.getDeclaringClass().getName())) { // issue #35
} else if (!mapperInterface.equals(method.getDeclaringClass())) { // issue #35
String parentStatementName = method.getDeclaringClass().getName() + "." + method.getName();
if (configuration.hasStatement(parentStatementName)) {
ms = configuration.getMappedStatement(parentStatementName);

0 comments on commit bb1deb7

Please sign in to comment.