Skip to content

Commit aa993bb

Browse files
committed
DATACMNS-960 - RevisionRepository now extends Repository.
1 parent 259a1e0 commit aa993bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/springframework/data/repository/history/RevisionRepository.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.springframework.data.history.RevisionSort;
2424
import org.springframework.data.history.Revisions;
2525
import org.springframework.data.repository.NoRepositoryBean;
26+
import org.springframework.data.repository.Repository;
2627

2728
/**
2829
* A repository which can access entities held in a variety of {@link Revisions}.
@@ -31,7 +32,8 @@
3132
* @author Philipp Huegelmeyer
3233
*/
3334
@NoRepositoryBean
34-
public interface RevisionRepository<T, ID extends Serializable, N extends Number & Comparable<N>> {
35+
public interface RevisionRepository<T, ID extends Serializable, N extends Number & Comparable<N>>
36+
extends Repository<T, ID> {
3537

3638
/**
3739
* Returns the revision of the entity it was last changed in.

0 commit comments

Comments
 (0)