#334 - Remove deprecated method - delete(Iterator<?> it) ... change to iterate yourself and delete()

This commit is contained in:
Robin Bygrave
2015-07-20 10:47:51 +12:00
parent 2dbb2d9911
commit b10c68489f
4 changed files with 0 additions and 29 deletions
-8
View File
@@ -750,14 +750,6 @@ public final class Ebean {
serverMgr.getDefaultServer().deleteAll(beanType, ids);
}
/**
* Delete all the beans from an Iterator.
*/
@Deprecated
public static int delete(Iterator<?> it) throws OptimisticLockException {
return serverMgr.getDefaultServer().delete(it);
}
/**
* Delete all the beans from a Collection.
*/
@@ -1223,14 +1223,6 @@ public interface EbeanServer {
*/
void delete(Object bean) throws OptimisticLockException;
/**
* Deprecated - please change to iterate yourself and delete.
*
* Delete all the beans from an Iterator.
*/
@Deprecated
int delete(Iterator<?> it) throws OptimisticLockException;
/**
* Deprecated - please migrate to deleteAll().
*
@@ -1795,14 +1795,6 @@ public final class DefaultServer implements SpiEbeanServer {
persister.delete(checkEntityBean(bean), t);
}
/**
* Delete all the beans in the iterator.
*/
@Override
public int delete(Iterator<?> it) {
return deleteAllInternal(it, null);
}
/**
* Delete all the beans in the collection.
*/