Skip to content

Commit

Permalink
Removed on-liner method used in only one place
Browse files Browse the repository at this point in the history
  • Loading branch information
emacarron committed Feb 11, 2016
1 parent 3d8dbe1 commit e88c98c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private Object getPropertyMappingValue(ResultSet rs, MetaObject metaResultObject
}

private List<UnMappedColumAutoMapping> createAutomaticMappings(ResultSetWrapper rsw, ResultMap resultMap, MetaObject metaObject, String columnPrefix) throws SQLException {
final String mapKey = getMapKey(resultMap, columnPrefix);
final String mapKey = resultMap.getId() + ":" + columnPrefix;
List<UnMappedColumAutoMapping> autoMapping = autoMappingsCache.get(mapKey);
if (autoMapping == null) {
autoMapping = new ArrayList<UnMappedColumAutoMapping>();
Expand Down Expand Up @@ -1073,8 +1073,4 @@ private Object instantiateCollectionPropertyIfAppropriate(ResultMapping resultMa
return null;
}

private String getMapKey(ResultMap resultMap, String columnPrefix) {
return resultMap.getId() + ":" + columnPrefix;
}

}

0 comments on commit e88c98c

Please sign in to comment.