Merge branch 'main' into 4.0.x

This commit is contained in:
Stéphane Nicoll
2025-05-26 17:09:34 +02:00
3 changed files with 0 additions and 6 deletions

View File

@@ -46,8 +46,6 @@ public final class GraphQlTestDataFetchers {
return (environment) -> getBooksOnSale(environment.getArgument("minPages"));
}
@SuppressWarnings("deprecation")
@org.springframework.lang.Nullable
public static Book getBookById(String id) {
return books.stream().filter((book) -> book.getId().equals(id)).findFirst().orElse(null);
}

View File

@@ -169,8 +169,6 @@ class GraphQlWebFluxSecurityAutoConfigurationTests {
static class BookService {
@PreAuthorize("hasRole('USER')")
@org.springframework.lang.Nullable
@SuppressWarnings("deprecation")
Mono<Book> getBookdById(String id) {
return Mono.justOrEmpty(GraphQlTestDataFetchers.getBookById(id));
}

View File

@@ -158,8 +158,6 @@ class GraphQlWebMvcSecurityAutoConfigurationTests {
static class BookService {
@PreAuthorize("hasRole('USER')")
@org.springframework.lang.Nullable
@SuppressWarnings("deprecation")
Book getBookdById(String id) {
return GraphQlTestDataFetchers.getBookById(id);
}