diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/repository/SimpleMongoRepository.java b/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/repository/SimpleMongoRepository.java index a77136c89..7ba978c3b 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/repository/SimpleMongoRepository.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/repository/SimpleMongoRepository.java @@ -20,10 +20,6 @@ import java.util.ArrayList; import java.util.List; import org.springframework.data.document.mongodb.MongoTemplate; -import org.springframework.data.domain.Page; -import org.springframework.data.domain.Pageable; -import org.springframework.data.domain.Sort; -import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.support.IsNewAware; import org.springframework.data.repository.support.RepositorySupport; import org.springframework.util.Assert; @@ -37,7 +33,7 @@ import com.mongodb.QueryBuilder; * @author Oliver Gierke */ public class SimpleMongoRepository extends - RepositorySupport implements PagingAndSortingRepository { + RepositorySupport { private final MongoTemplate template; private MongoEntityInformation entityInformation; @@ -180,34 +176,6 @@ public class SimpleMongoRepository extends } - /* - * (non-Javadoc) - * - * @see - * org.springframework.data.repository.PagingAndSortingRepository#findAll - * (org.springframework.data.domain.Pageable) - */ - public Page findAll(Pageable pageable) { - - // TODO Auto-generated method stub - return null; - } - - - /* - * (non-Javadoc) - * - * @see - * org.springframework.data.repository.PagingAndSortingRepository#findAll - * (org.springframework.data.domain.Sort) - */ - public List findAll(Sort sort) { - - // TODO Auto-generated method stub - return null; - } - - /* * (non-Javadoc) *