Skip to content

Commit bed763c

Browse files
committed
Reverted the message change
2nd arg should be clear enough.
1 parent ead60a5 commit bed763c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/reflection/TypeParameterResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private static Type resolveTypeVar(TypeVariable<?> typeVar, Type srcType, Class<
159159
}
160160
} else {
161161
throw new IllegalArgumentException(
162-
"The srcType(2nd arg) must be Class or ParameterizedType, but was: " + srcType.getClass());
162+
"The 2nd arg must be Class or ParameterizedType, but was: " + srcType.getClass());
163163
}
164164

165165
if (clazz == declaringClass) {

0 commit comments

Comments
 (0)