DATACMNS-1076 - Deprecate RxJava1CrudRepository and RxJava1SortingRepository interfaces.

Spring Data 2.0 is going GA after the feature freeze of RxJava 1. In prospect of its EOL it makes no sense to ship new APIs based on a library that goes towards EOL.

RxJava1CrudRepository and RxJava1SortingRepository are subject to removal in a future milestone.
This commit is contained in:
Mark Paluch
2017-05-31 14:21:24 +02:00
parent 2e532b3d21
commit 07da629356
3 changed files with 12 additions and 2 deletions

View File

@@ -28,9 +28,11 @@ import org.springframework.data.repository.Repository;
*
* @author Mark Paluch
* @since 2.0
* @deprecated interface to be removed in 2.0 RC1.
* @see Single
* @see Observable
*/
@Deprecated
@NoRepositoryBean
public interface RxJava1CrudRepository<T, ID> extends Repository<T, ID> {

View File

@@ -27,11 +27,13 @@ import org.springframework.data.repository.NoRepositoryBean;
*
* @author Mark Paluch
* @since 2.0
* @deprecated interface to be removed in 2.0 RC1.
* @see Sort
* @see Single
* @see Observable
* @see RxJava1CrudRepository
*/
@Deprecated
@NoRepositoryBean
public interface RxJava1SortingRepository<T, ID> extends RxJava1CrudRepository<T, ID> {