Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Operating System: All
Platform: PC
-
33176
Description
my application tries to copy a list.
List workerList = new ArrayList();
BeanUtils.copyProperties(workerList, msg.getAllRecip());
the size of the ArrayList allRecip in my msg object is 6.
After the copy, the size of the workerList remains 0.
Sure,
workerList.addAll(msg.getAllRecip());
works as an alternative, but wouldn't it be appropriate to warn the user of
copyProperties ?
Might be related to COM-343