Simple fixes (#976)

* Should be only the really simple stuff.
* Final cleanups.
This commit is contained in:
Koen De Groote authored and Rob Bygrave committed 2017-02-23 23:46:51 +13:00
1 parent 8bb884374b
commit 6120a465e1
59 files changed
+111 -125

No files matched your search

@@ -165,7 +165,7 @@ public final class DefaultPersister implements Persister {
* Helper method to return the list of Id values for the list of beans.
*/
private <T> List<Object> getBeanIds(BeanDescriptor<T> desc, List<T> beans) {
List<Object> idList = new ArrayList<>();
List<Object> idList = new ArrayList<>(beans.size());
for (T liveBean : beans) {
idList.add(desc.getBeanId(liveBean));
}