Skip to content

Commit 1e74820

Browse files
committed
Consistent since tag format
1 parent 882ad0e commit 1e74820

36 files changed

+52
-52
lines changed

spring-graphql/src/main/java/org/springframework/graphql/data/ArgumentValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* @author Rossen Stoyanchev
4343
* @param <T> the type of value contained
44-
* @since 1.1
44+
* @since 1.1.0
4545
* @see <a href="http://spec.graphql.org/October2021/#sec-Non-Null.Nullable-vs-Optional">Nullable vs Optional</a>
4646
*/
4747
public final class ArgumentValue<T> {

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/BatchMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
* Set the maximum number of keys to include a single batch, before
100100
* splitting into multiple batches of keys to load.
101101
* <p>By default this is -1 in which case there is no limit.
102-
* @since 1.1
102+
* @since 1.1.0
103103
*/
104104
int maxBatchSize() default -1;
105105

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/GraphQlExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* in the section {@literal "Annotated Controllers"}.
4343
*
4444
* @author Rossen Stoyanchev
45-
* @since 1.2
45+
* @since 1.2.0
4646
*/
4747
@Target(ElementType.METHOD)
4848
@Retention(RetentionPolicy.RUNTIME)

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/AnnotatedControllerConfigurer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public void addFormatterRegistrar(FormatterRegistrar registrar) {
174174
* {@link org.springframework.graphql.data.method.annotation.Argument @Argument}
175175
* should falls back to direct field access in case the target object does
176176
* not use accessor methods.
177-
* @since 1.2
177+
* @since 1.2.0
178178
*/
179179
public void setFallBackOnDirectFieldAccess(boolean fallBackOnDirectFieldAccess) {
180180
this.fallBackOnDirectFieldAccess = fallBackOnDirectFieldAccess;
@@ -186,7 +186,7 @@ public void setFallBackOnDirectFieldAccess(boolean fallBackOnDirectFieldAccess)
186186
* except for {@link SourceMethodArgumentResolver}, which is always last.
187187
*
188188
* @param resolver the resolver to add.
189-
* @since 1.2
189+
* @since 1.2.0
190190
*/
191191
public void addCustomArgumentResolver(HandlerMethodArgumentResolver resolver) {
192192
this.customArgumentResolvers.add(resolver);
@@ -210,7 +210,7 @@ HandlerMethodArgumentResolverComposite getArgumentResolvers() {
210210
* {@link org.springframework.graphql.execution.GraphQlSource.Builder#exceptionResolvers(List)
211211
* GraphQlSource.Builder}
212212
*
213-
* @since 1.2
213+
* @since 1.2.0
214214
*/
215215
public DataFetcherExceptionResolver getExceptionResolver() {
216216
Assert.notNull(this.exceptionResolver,

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/AnnotatedControllerExceptionResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* non-controller {@link graphql.schema.DataFetcher}s.
6868
*
6969
* @author Rossen Stoyanchev
70-
* @since 1.2
70+
* @since 1.2.0
7171
*/
7272
final class AnnotatedControllerExceptionResolver {
7373

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/DataFetcherHandlerMethod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public HandlerMethodArgumentResolverComposite getResolvers() {
100100
*
101101
* @return the raw value returned by the invoked method, possibly a
102102
* {@code Mono} in case a method argument requires asynchronous resolution;
103-
* {@code Mono<Throwable} is returned if invocation fails.
103+
* {@code Mono<Throwable>} is returned if invocation fails.
104104
*/
105105
@Nullable
106106
public Object invoke(DataFetchingEnvironment environment) {
@@ -110,7 +110,7 @@ public Object invoke(DataFetchingEnvironment environment) {
110110
/**
111111
* Variant of {@link #invoke(DataFetchingEnvironment)} that also accepts
112112
* "given" arguments, which are matched by type.
113-
* @since 1.2
113+
* @since 1.2.0
114114
*/
115115
@Nullable
116116
public Object invoke(DataFetchingEnvironment environment, Object... providedArgs) {

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/ScrollSubrangeMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* and {@link ScrollPosition} as cursor.
3030
*
3131
* @author Rossen Stoyanchev
32-
* @since 1.2
32+
* @since 1.2.0
3333
*/
3434
public class ScrollSubrangeMethodArgumentResolver extends SubrangeMethodArgumentResolver<ScrollPosition> {
3535

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/SortMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Resolver for method arguments of type {@link Sort}.
3333
*
3434
* @author Rossen Stoyanchev
35-
* @since 1.2
35+
* @since 1.2.0
3636
*/
3737
public class SortMethodArgumentResolver implements HandlerMethodArgumentResolver {
3838

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/SubrangeMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* from "first", "last", "before", and "after" GraphQL arguments.
3232
*
3333
* @author Rossen Stoyanchev
34-
* @since 1.2
34+
* @since 1.2.0
3535
*/
3636
public class SubrangeMethodArgumentResolver<P> implements HandlerMethodArgumentResolver {
3737

spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/ValidationHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* requires bean validation.
4444
*
4545
* @author Rossen Stoyanchev
46-
* @since 1.2
46+
* @since 1.2.0
4747
*/
4848
class ValidationHelper {
4949

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Base64CursorEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* <p>To create an instance, use {@link CursorEncoder#base64()}.
2929
*
3030
* @author Rossen Stoyanchev
31-
* @since 1.2
31+
* @since 1.2.0
3232
*/
3333
final class Base64CursorEncoder implements CursorEncoder {
3434

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/CompositeConnectionAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* the first one that supports a given Object container type, and delegates to it.
2828
*
2929
* @author Rossen Stoyanchev
30-
* @since 1.2
30+
* @since 1.2.0
3131
*/
3232
final class CompositeConnectionAdapter implements ConnectionAdapter {
3333

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/ConnectionAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* result set to {@link graphql.relay.Connection}.
2525
*
2626
* @author Rossen Stoyanchev
27-
* @since 1.2
27+
* @since 1.2.0
2828
*/
2929
public interface ConnectionAdapter {
3030

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/ConnectionAdapterSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* {@link org.springframework.graphql.data.pagination.ConnectionAdapter}.
2424
*
2525
* @author Rossen Stoyanchev
26-
* @since 1.2
26+
* @since 1.2.0
2727
*/
2828
public class ConnectionAdapterSupport<P> {
2929

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/ConnectionFieldTypeVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* {@link org.springframework.graphql.execution.GraphQlSource.Builder#typeVisitors(List)}.
5454
*
5555
* @author Rossen Stoyanchev
56-
* @since 1.2
56+
* @since 1.2.0
5757
*/
5858
public final class ConnectionFieldTypeVisitor extends GraphQLTypeVisitorStub {
5959

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/CursorEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* {@link CursorStrategy#withEncoder(CursorStrategy, CursorEncoder)}.
2323
*
2424
* @author Rossen Stoyanchev
25-
* @since 1.2
25+
* @since 1.2.0
2626
*/
2727
public interface CursorEncoder {
2828

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/CursorStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* decode cursor Strings to make them opaque for clients.
2626
*
2727
* @author Rossen Stoyanchev
28-
* @since 1.2
28+
* @since 1.2.0
2929
*/
3030
public interface CursorStrategy<P> {
3131

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/EncodingCursorStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* {@link CursorStrategy#withEncoder(CursorStrategy, CursorEncoder)}.
2727
*
2828
* @author Rossen Stoyanchev
29-
* @since 1.2
29+
* @since 1.2.0
3030
*/
3131
public final class EncodingCursorStrategy<T> implements CursorStrategy<T> {
3232

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/NoOpCursorEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* <p>To create an instance, use {@link CursorEncoder#noOpEncoder()}.
2323
*
2424
* @author Rossen Stoyanchev
25-
* @since 1.2
25+
* @since 1.2.0
2626
*/
2727
final class NoOpCursorEncoder implements CursorEncoder {
2828

spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Subrange.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* relative position, number of elements, and direction.
2828
*
2929
* @author Rossen Stoyanchev
30-
* @since 1.2
30+
* @since 1.2.0
3131
*/
3232
@SuppressWarnings("OptionalUsedAsFieldOrParameterType")
3333
public class Subrange<P> {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* and {@link #getDirection(DataFetchingEnvironment) direction}.
3333
*
3434
* @author Rossen Stoyanchev
35-
* @since 1.2
35+
* @since 1.2.0
3636
*/
3737
public abstract class AbstractSortStrategy implements SortStrategy {
3838

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* to assist with converting keys to and from a String.
4242
*
4343
* @author Rossen Stoyanchev
44-
* @since 1.2
44+
* @since 1.2.0
4545
*/
4646
public final class JsonKeysetCursorStrategy implements CursorStrategy<Map<String, Object>> {
4747

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public static RuntimeWiringConfigurer autoRegistrationConfigurer(
222222
* @param defaultScrollSubrange default parameters for scrolling;
223223
* if {@code null}, then {@link Builder#defaultScrollSubrange} defaults apply.
224224
* @return the created configurer
225-
* @since 1.2
225+
* @since 1.2.0
226226
*/
227227
public static RuntimeWiringConfigurer autoRegistrationConfigurer(
228228
List<QueryByExampleExecutor<?>> executors,
@@ -410,7 +410,7 @@ public <P> Builder<T, P> projectAs(Class<P> projectionType) {
410410
* @param cursorStrategy the strategy to use
411411
* @return a new {@link Builder} instance with all previously configured
412412
* options and {@code Sort} applied
413-
* @since 1.2
413+
* @since 1.2.0
414414
*/
415415
public Builder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cursorStrategy) {
416416
return new Builder<>(this.executor, this.domainType,
@@ -424,7 +424,7 @@ public Builder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cur
424424
* count of 20.
425425
* @return a new {@link Builder} instance with all previously configured
426426
* options and {@code Sort} applied
427-
* @since 1.2
427+
* @since 1.2.0
428428
*/
429429
public Builder<T, R> defaultScrollSubrange(@Nullable ScrollSubrange defaultSubrange) {
430430
return new Builder<>(this.executor, this.domainType,
@@ -460,7 +460,7 @@ public DataFetcher<Iterable<R>> many() {
460460
/**
461461
* Build a {@link DataFetcher} that scrolls and returns
462462
* {@link org.springframework.data.domain.Window}.
463-
* @since 1.2
463+
* @since 1.2.0
464464
*/
465465
public DataFetcher<Iterable<R>> scrollable() {
466466
return new ScrollableEntityFetcher<>(
@@ -557,7 +557,7 @@ public <P> ReactiveBuilder<T, P> projectAs(Class<P> projectionType) {
557557
* @param cursorStrategy the strategy to use
558558
* @return a new {@link Builder} instance with all previously configured
559559
* options and {@code Sort} applied
560-
* @since 1.2
560+
* @since 1.2.0
561561
*/
562562
public ReactiveBuilder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cursorStrategy) {
563563
return new ReactiveBuilder<>(this.executor, this.domainType,
@@ -571,7 +571,7 @@ public ReactiveBuilder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosit
571571
* count of 20.
572572
* @return a new {@link Builder} instance with all previously configured
573573
* options and {@code Sort} applied
574-
* @since 1.2
574+
* @since 1.2.0
575575
*/
576576
public ReactiveBuilder<T, R> defaultScrollSubrange(@Nullable ScrollSubrange defaultSubrange) {
577577
return new ReactiveBuilder<>(this.executor, this.domainType,
@@ -607,7 +607,7 @@ public DataFetcher<Flux<R>> many() {
607607
/**
608608
* Build a {@link DataFetcher} that scrolls and returns
609609
* {@link org.springframework.data.domain.Window}.
610-
* @since 1.2
610+
* @since 1.2.0
611611
*/
612612
public DataFetcher<Mono<Iterable<R>>> scrollable() {
613613
return new ReactiveScrollableEntityFetcher<>(

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public static RuntimeWiringConfigurer autoRegistrationConfigurer(
249249
* @param defaultScrollSubrange default parameters for scrolling;
250250
* if {@code null}, then {@link Builder#defaultScrollSubrange} defaults apply.
251251
* @return the created configurer
252-
* @since 1.2
252+
* @since 1.2.0
253253
*/
254254
@SuppressWarnings({"unchecked", "rawtypes"})
255255
public static RuntimeWiringConfigurer autoRegistrationConfigurer(
@@ -457,7 +457,7 @@ public <P> Builder<T, P> projectAs(Class<P> projectionType) {
457457
* @param cursorStrategy the strategy to use
458458
* @return a new {@link Builder} instance with all previously configured
459459
* options and {@code Sort} applied
460-
* @since 1.2
460+
* @since 1.2.0
461461
*/
462462
public Builder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cursorStrategy) {
463463
return new Builder<>(this.executor, this.domainType, this.resultType,
@@ -471,7 +471,7 @@ public Builder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cur
471471
* count of 20.
472472
* @return a new {@link Builder} instance with all previously configured
473473
* options and {@code Sort} applied
474-
* @since 1.2
474+
* @since 1.2.0
475475
*/
476476
public Builder<T, R> defaultScrollSubrange(@Nullable ScrollSubrange defaultSubrange) {
477477
return new Builder<>(this.executor, this.domainType, this.resultType,
@@ -528,7 +528,7 @@ public DataFetcher<Iterable<R>> many() {
528528
/**
529529
* Build a {@link DataFetcher} that scrolls and returns
530530
* {@link org.springframework.data.domain.Window}.
531-
* @since 1.2
531+
* @since 1.2.0
532532
*/
533533
public DataFetcher<Iterable<R>> scrollable() {
534534
return new ScrollableEntityFetcher<>(
@@ -629,7 +629,7 @@ public <P> ReactiveBuilder<T, P> projectAs(Class<P> projectionType) {
629629
* @param cursorStrategy the strategy to use
630630
* @return a new {@link Builder} instance with all previously configured
631631
* options and {@code Sort} applied
632-
* @since 1.2
632+
* @since 1.2.0
633633
*/
634634
public ReactiveBuilder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosition> cursorStrategy) {
635635
return new ReactiveBuilder<>(this.executor, this.domainType, this.resultType,
@@ -643,7 +643,7 @@ public ReactiveBuilder<T, R> cursorStrategy(@Nullable CursorStrategy<ScrollPosit
643643
* count of 20.
644644
* @return a new {@link Builder} instance with all previously configured
645645
* options and {@code Sort} applied
646-
* @since 1.2
646+
* @since 1.2.0
647647
*/
648648
public ReactiveBuilder<T, R> defaultScrollSubrange(@Nullable ScrollSubrange defaultSubrange) {
649649
return new ReactiveBuilder<>(this.executor, this.domainType, this.resultType,
@@ -700,7 +700,7 @@ public DataFetcher<Flux<R>> many() {
700700
/**
701701
* Build a {@link DataFetcher} that scrolls and returns
702702
* {@link org.springframework.data.domain.Window}.
703-
* @since 1.2
703+
* @since 1.2.0
704704
*/
705705
public DataFetcher<Mono<Iterable<R>>> scrollable() {
706706
return new ReactiveScrollableEntityFetcher<>(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Strategy to convert a {@link ScrollPosition} to and from a String cursor.
2929
*
3030
* @author Rossen Stoyanchev
31-
* @since 1.2
31+
* @since 1.2.0
3232
*/
3333
public final class ScrollPositionCursorStrategy implements CursorStrategy<ScrollPosition> {
3434

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* always {@code true}.
3737
*
3838
* @author Rossen Stoyanchev
39-
* @since 1.2
39+
* @since 1.2.0
4040
*/
4141
public final class ScrollSubrange extends Subrange<ScrollPosition> {
4242

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Adapter for {@link Slice} to {@link graphql.relay.Connection}.
3030
*
3131
* @author Rossen Stoyanchev
32-
* @since 1.2
32+
* @since 1.2.0
3333
*/
3434
public final class SliceConnectionAdapter
3535
extends ConnectionAdapterSupport<ScrollPosition> implements ConnectionAdapter {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Strategy to extract {@link Sort} details from GraphQL arguments.
2626
*
2727
* @author Rossen Stoyanchev
28-
* @since 1.2
28+
* @since 1.2.0
2929
*/
3030
public interface SortStrategy {
3131

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Adapter for {@link Window} to {@link graphql.relay.Connection}.
2929
*
3030
* @author Rossen Stoyanchev
31-
* @since 1.2
31+
* @since 1.2.0
3232
*/
3333
public final class WindowConnectionAdapter
3434
extends ConnectionAdapterSupport<ScrollPosition> implements ConnectionAdapter {

0 commit comments

Comments
 (0)