Skip to content

Commit 9ffeb75

Browse files
authored
Update PrimitiveTypes.java
fix add method
1 parent 99b74df commit 9ffeb75

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)