Skip to content

Commit c43c0be

Browse files
committed
Polishing
Closes gh-559
1 parent ca0d0b4 commit c43c0be

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

spring-graphql/src/main/java/org/springframework/graphql/data/query/QueryByExampleDataFetcher.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,11 @@ public DataFetcher<Iterable<R>> many() {
326326
}
327327

328328
/**
329-
* Callback interface that can be used to customize QueryByExampleDataFetcher {@link Builder}
330-
* to change its configuration. {@link #autoRegistrationConfigurer(List, List) Auto-registration}
331-
* applies the customizer for DataFetchers based on repositories implementing this interface.
329+
* Callback interface that can be used to customize QueryByExampleDataFetcher
330+
* {@link Builder} to change its configuration.
331+
* <p>This is supported by {@link #autoRegistrationConfigurer(List, List)
332+
* Auto-registration}, which detects if a repository implements this
333+
* interface and applies it accordingly.
332334
*
333335
* @param <T>
334336
* @since 1.1.1
@@ -419,9 +421,11 @@ public DataFetcher<Flux<R>> many() {
419421
}
420422

421423
/**
422-
* Callback interface that can be used to customize QueryByExampleDataFetcher {@link ReactiveBuilder}
423-
* to change its configuration. {@link #autoRegistrationConfigurer(List, List) Auto-registration}
424-
* applies the customizer for DataFetchers based on repositories implementing this interface.
424+
* Callback interface that can be used to customize QueryByExampleDataFetcher
425+
* {@link ReactiveBuilder} to change its configuration.
426+
* <p>This is supported by {@link #autoRegistrationConfigurer(List, List)
427+
* Auto-registration}, which detects if a repository implements this
428+
* interface and applies it accordingly.
425429
*
426430
* @param <T>
427431
* @since 1.1.1

spring-graphql/src/main/java/org/springframework/graphql/data/query/QuerydslDataFetcher.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,11 @@ public DataFetcher<Iterable<R>> many() {
394394

395395

396396
/**
397-
* Callback interface that can be used to customize QuerydslDataFetcher {@link Builder}
398-
* to change its configuration. {@link #autoRegistrationConfigurer(List, List) Auto-registration}
399-
* applies the customizer for DataFetchers based on repositories implementing this interface.
397+
* Callback interface that can be used to customize QuerydslDataFetcher
398+
* {@link Builder} to change its configuration.
399+
* <p>This is supported by {@link #autoRegistrationConfigurer(List, List)
400+
* Auto-registration}, which detects if a repository implements this
401+
* interface and applies it accordingly.
400402
*
401403
* @param <T>
402404
* @since 1.1.1
@@ -516,9 +518,11 @@ public DataFetcher<Flux<R>> many() {
516518

517519

518520
/**
519-
* Callback interface that can be used to customize QuerydslDataFetcher {@link ReactiveBuilder}
520-
* to change its configuration. {@link #autoRegistrationConfigurer(List, List) Auto-registration}
521-
* applies the customizer for DataFetchers based on repositories implementing this interface.
521+
* Callback interface that can be used to customize QuerydslDataFetcher
522+
* {@link ReactiveBuilder} to change its configuration.
523+
* <p>This is supported by {@link #autoRegistrationConfigurer(List, List)
524+
* Auto-registration}, which detects if a repository implements this
525+
* interface and applies it accordingly.
522526
*
523527
* @param <T>
524528
* @since 1.1.1

spring-graphql/src/test/java/org/springframework/graphql/data/query/QuerydslDataFetcherTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ static GraphQlSetup graphQlSetup(String fieldName, DataFetcher<?> fetcher) {
282282
}
283283

284284
static GraphQlSetup graphQlSetup(@Nullable QuerydslPredicateExecutor<?> executor) {
285-
return initGraphQlSetup(executor, null);
285+
return initGraphQlSetup(executor, null);
286286
}
287287

288288
static GraphQlSetup graphQlSetup(@Nullable ReactiveQuerydslPredicateExecutor<?> executor) {
289-
return initGraphQlSetup(null, executor);
289+
return initGraphQlSetup(null, executor);
290290
}
291291

292292
private static GraphQlSetup initGraphQlSetup(

0 commit comments

Comments
 (0)