From 644b65eb71e4bef05cf290adda5601820eeda124 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 27 May 2020 10:15:03 +0200 Subject: [PATCH] DATACMNS-1733 - Fix Javadoc for Range factory methods. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Range.open(…) is now correctly documented with exclusive bounds. --- src/main/java/org/springframework/data/domain/Range.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/domain/Range.java b/src/main/java/org/springframework/data/domain/Range.java index c186e3ccd..b1ee18e89 100644 --- a/src/main/java/org/springframework/data/domain/Range.java +++ b/src/main/java/org/springframework/data/domain/Range.java @@ -75,7 +75,7 @@ public final class Range> { } /** - * Creates a new {@link Range} with inclusive bounds for both values. + * Creates a new {@link Range} with exclusive bounds for both values. * * @param * @param from must not be {@literal null}. @@ -171,6 +171,7 @@ public final class Range> { * @param * @param value must not be {@literal null}. * @return + * @see Range#closed(Comparable, Comparable) */ public static > Range just(T value) { return Range.closed(value, value);