DATAMONGO-1718 - Fix MongoTemplate::findAllAndRemove(Query,String) delegating to wrong overload.
Original Pull Request: #469 (by Borislav Rangelov).
This commit is contained in:
committed by
Christoph Strobl
parent
fbf84fed0e
commit
cf0f891c8b
@@ -159,6 +159,7 @@ import com.mongodb.util.JSONParseException;
|
||||
* @author Mark Paluch
|
||||
* @author Laszlo Csontos
|
||||
* @author Maninder Singh
|
||||
* @author Borislav Rangelov
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class MongoTemplate implements MongoOperations, ApplicationContextAware, IndexOperationsProvider {
|
||||
@@ -1651,7 +1652,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware,
|
||||
*/
|
||||
@Override
|
||||
public <T> List<T> findAllAndRemove(Query query, String collectionName) {
|
||||
return findAndRemove(query, null, collectionName);
|
||||
return findAllAndRemove(query, null, collectionName);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
||||
Reference in New Issue
Block a user