Skip to content

Commit d73ccf4

Browse files
committed
Merge branch 'main' into 4.0.x
2 parents 4e4dbaf + 3dd227f commit d73ccf4

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/GraphQlTestDataFetchers.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public static DataFetcher<Flux<Book>> getBooksOnSaleDataFetcher() {
4646
return (environment) -> getBooksOnSale(environment.getArgument("minPages"));
4747
}
4848

49-
@SuppressWarnings("deprecation")
50-
@org.springframework.lang.Nullable
5149
public static Book getBookById(String id) {
5250
return books.stream().filter((book) -> book.getId().equals(id)).findFirst().orElse(null);
5351
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/security/GraphQlWebFluxSecurityAutoConfigurationTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ BookService bookService() {
169169
static class BookService {
170170

171171
@PreAuthorize("hasRole('USER')")
172-
@org.springframework.lang.Nullable
173-
@SuppressWarnings("deprecation")
174172
Mono<Book> getBookdById(String id) {
175173
return Mono.justOrEmpty(GraphQlTestDataFetchers.getBookById(id));
176174
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/security/GraphQlWebMvcSecurityAutoConfigurationTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ BookService bookService() {
158158
static class BookService {
159159

160160
@PreAuthorize("hasRole('USER')")
161-
@org.springframework.lang.Nullable
162-
@SuppressWarnings("deprecation")
163161
Book getBookdById(String id) {
164162
return GraphQlTestDataFetchers.getBookById(id);
165163
}

0 commit comments

Comments
 (0)