You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/04/17 13:15:23 UTC
[commons-lang] branch master updated: Format tweaks.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 6265e2e Format tweaks.
new e9225d0 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
6265e2e is described below
commit 6265e2ea3bbcc2e810f9e86cc283e0cb5877993e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Apr 17 09:06:52 2020 -0400
Format tweaks.
---
src/main/java/org/apache/commons/lang3/Range.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/org/apache/commons/lang3/Range.java b/src/main/java/org/apache/commons/lang3/Range.java
index b7f0b1c..a172541 100644
--- a/src/main/java/org/apache/commons/lang3/Range.java
+++ b/src/main/java/org/apache/commons/lang3/Range.java
@@ -73,6 +73,7 @@ public final class Range<T> implements Serializable {
public static <T extends Comparable<T>> Range<T> between(final T fromInclusive, final T toInclusive) {
return between(fromInclusive, toInclusive, null);
}
+
/**
* <p>Obtains a range with the specified minimum and maximum values (both inclusive).</p>
*
@@ -93,6 +94,7 @@ public final class Range<T> implements Serializable {
public static <T> Range<T> between(final T fromInclusive, final T toInclusive, final Comparator<T> comparator) {
return new Range<>(fromInclusive, toInclusive, comparator);
}
+
/**
* <p>Obtains a range using the specified element as both the minimum
* and maximum in this range.</p>
@@ -109,6 +111,7 @@ public final class Range<T> implements Serializable {
public static <T extends Comparable<T>> Range<T> is(final T element) {
return between(element, element, null);
}
+
/**
* <p>Obtains a range using the specified element as both the minimum
* and maximum in this range.</p>