Skip to content

Commit e7919fe

Browse files
authored
Merge pull request #1008 from kevinKaiF/master
fix bug
2 parents 99b74df + 9ffeb75 commit e7919fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/executor/resultset/PrimitiveTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public PrimitiveTypes() {
3939

4040
private void add(final Class<?> primitiveType, final Class<?> wrapperType) {
4141
primitiveToWrappers.put(primitiveType, wrapperType);
42-
primitiveToWrappers.put(wrapperType, primitiveType);
42+
wrappersToPrimitives.put(wrapperType, primitiveType);
4343
}
4444

4545
public Class<?> getWrapper(final Class<?> primitiveType) {

0 commit comments

Comments
 (0)