#335 - Remove deprecated method - delete(Collection<?> beans) ... migrate to deleteAll()

This commit is contained in:
Robin Bygrave committed 2015-07-20 10:54:18 +12:00
1 parent b10c68489f
commit 7b090a6346
6 files changed
+2 -31

No files matched your search

@@ -1795,14 +1795,6 @@ public final class DefaultServer implements SpiEbeanServer {
persister.delete(checkEntityBean(bean), t);
}
/**
* Delete all the beans in the collection.
*/
@Override
public int delete(Collection<?> beans) {
return deleteAllInternal(beans.iterator(), null);
}
@Override
public int delete(Iterator<?> it, Transaction transaction) throws OptimisticLockException {
return deleteAllInternal(it, transaction);