Skip to content

Commit d7cdcc6

Browse files
committed
Merge branch 'master' of https://[email protected]/apache/commons-lang.git
2 parents 323f046 + bac2371 commit d7cdcc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/commons/lang3/time/DurationUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public static int getNanosOfMilli(final Duration duration) {
9898
}
9999

100100
/**
101-
* Tests whether the given Duration is positive (>0).
101+
* Tests whether the given Duration is positive (duration > 0).
102102
*
103103
* @param duration the value to test
104-
* @return whether the given Duration is positive (>0).
104+
* @return whether the given Duration is positive (duration > 0).
105105
*/
106106
public static boolean isPositive(final Duration duration) {
107107
return !duration.isNegative() && !duration.isZero();

0 commit comments

Comments
 (0)