Skip to content

Commit 3514a03

Browse files
committed
Adapt repository to List-based interface variants.
Closes #1217
1 parent 6a31901 commit 3514a03

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/repository/CassandraRepository.java

+2-7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.springframework.data.domain.Persistable;
2525
import org.springframework.data.domain.Slice;
2626
import org.springframework.data.repository.CrudRepository;
27+
import org.springframework.data.repository.ListCrudRepository;
2728
import org.springframework.data.repository.NoRepositoryBean;
2829

2930
/**
@@ -40,13 +41,7 @@
4041
* @see MapIdCassandraRepository
4142
*/
4243
@NoRepositoryBean
43-
public interface CassandraRepository<T, ID> extends CrudRepository<T, ID> {
44-
45-
@Override
46-
<S extends T> List<S> saveAll(Iterable<S> entites);
47-
48-
@Override
49-
List<T> findAll();
44+
public interface CassandraRepository<T, ID> extends ListCrudRepository<T, ID> {
5045

5146
/**
5247
* {@inheritDoc}

0 commit comments

Comments
 (0)