Skip to content

Commit ba5cc2b

Browse files
committed
Added a comment
1 parent 89b6480 commit ba5cc2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ private List<UnMappedColumnAutoMapping> createAutomaticMappings(ResultSetWrapper
525525
if (autoMapping == null) {
526526
autoMapping = new ArrayList<>();
527527
final List<String> unmappedColumnNames = rsw.getUnmappedColumnNames(resultMap, columnPrefix);
528+
// Remove the entry to release the memory
528529
List<String> mappedInConstructorAutoMapping = constructorAutoMappingColumns.remove(mapKey);
529530
if (mappedInConstructorAutoMapping != null) {
530531
unmappedColumnNames.removeAll(mappedInConstructorAutoMapping);

0 commit comments

Comments
 (0)