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 e7d0cd07f Javadoc
new bac2371b9 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-lang.git
e7d0cd07f is described below
commit e7d0cd07fdf5b324f57086c95fc3e4bf1472aa6b
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jun 10 08:56:51 2025 -0400
Javadoc
---
src/main/java/org/apache/commons/lang3/time/DurationUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
index d90f69b6f..4b363e4e3 100644
--- a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
@@ -98,10 +98,10 @@ public static int getNanosOfMilli(final Duration duration) {
}
/**
- * Tests whether the given Duration is positive (>0).
+ * Tests whether the given Duration is positive (duration > 0).
*
* @param duration the value to test
- * @return whether the given Duration is positive (>0).
+ * @return whether the given Duration is positive (duration > 0).
*/
public static boolean isPositive(final Duration duration) {
return !duration.isNegative() && !duration.isZero();