Skip to content

Commit e0e881f

Browse files
committed
Prepare for removal of ListenableFuture.
Closes #3190
1 parent 24cf1fc commit e0e881f

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
* @since 1.8
7575
* @see NullableWrapperConverters
7676
*/
77+
@SuppressWarnings("removal")
7778
public abstract class QueryExecutionConverters {
7879

7980
private static final boolean VAVR_PRESENT = ClassUtils.isPresent("io.vavr.control.Try",
@@ -361,7 +362,8 @@ public final Object convert(@Nullable Object source, TypeDescriptor sourceType,
361362
*
362363
* @author Oliver Gierke
363364
*/
364-
@Deprecated(since = "3.0")
365+
@Deprecated(since = "3.0", forRemoval = true)
366+
@SuppressWarnings("removal")
365367
private static class NullableWrapperToFutureConverter extends AbstractWrapperTypeConverter {
366368

367369
/**

src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ interface AnnotatedRepository {
606606

607607
}
608608

609+
@SuppressWarnings("removal")
609610
interface ConvertingRepository extends Repository<Object, Long> {
610611

611612
Set<String> convertListToStringSet();

src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
* @author Maciek Opała
5858
* @author Johannes Englmeier
5959
*/
60+
@SuppressWarnings("removal")
6061
class QueryExecutionConvertersUnitTests {
6162

6263
DefaultConversionService conversionService;

src/test/java/org/springframework/data/util/NullableWrapperConvertersUnitTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* @author Mark Paluch
3737
* @author Maciek Opała
3838
*/
39+
@SuppressWarnings("removal")
3940
class NullableWrapperConvertersUnitTests {
4041

4142
DefaultConversionService conversionService;

0 commit comments

Comments
 (0)