Skip to content

Commit b31455f

Browse files
authored
Added a missing single quote in an exception message (#2644)
* Added a missing single quote in an exception message * Put the imports back in the correct order
1 parent aba707d commit b31455f

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
@@ -99,7 +99,7 @@ public Object execute(SqlSession sqlSession, Object[] args) {
9999
}
100100
if (result == null && method.getReturnType().isPrimitive() && !method.returnsVoid()) {
101101
throw new BindingException("Mapper method '" + command.getName()
102-
+ " attempted to return null from a method with a primitive return type (" + method.getReturnType() + ").");
102+
+ "' attempted to return null from a method with a primitive return type (" + method.getReturnType() + ").");
103103
}
104104
return result;
105105
}

0 commit comments

Comments
 (0)