Skip to content

Commit

Permalink
optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
ponfee committed Sep 17, 2019
1 parent 3400a88 commit 85fdb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/code/ponfee/hbase/HbaseDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public <F> T convert(F from, Consumer<T> action) {
((Map) to).putAll(BeanMaps.CGLIB.toMap(from));
}
} else if (Map.class.isInstance(from)) {
BeanMaps.CGLIB.copy((Map) from, to);
BeanMaps.CGLIB.copyFromMap((Map) from, to);
} else {
CglibUtils.copyProperties(from, to);
}
Expand Down

0 comments on commit 85fdb47

Please sign in to comment.