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 b076e478e Fix JavaDoc to reflect actual exception type thrown
(IllegalArgumentException to NullPointerException) (#1581)
b076e478e is described below
commit b076e478e2b2fff603d75b1628430a47dfb88f53
Author: Ivan Ponomarev <[email protected]>
AuthorDate: Sat Jan 24 11:59:51 2026 +0000
Fix JavaDoc to reflect actual exception type thrown
(IllegalArgumentException to NullPointerException) (#1581)
---
src/main/java/org/apache/commons/lang3/DoubleRange.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/DoubleRange.java
b/src/main/java/org/apache/commons/lang3/DoubleRange.java
index f23f36335..ab2fd09bd 100644
--- a/src/main/java/org/apache/commons/lang3/DoubleRange.java
+++ b/src/main/java/org/apache/commons/lang3/DoubleRange.java
@@ -63,7 +63,7 @@ public static DoubleRange of(final double fromInclusive,
final double toInclusiv
* @param fromInclusive the first value that defines the edge of the
range, inclusive.
* @param toInclusive the second value that defines the edge of the range,
inclusive.
* @return the range object, not null.
- * @throws IllegalArgumentException if either element is null.
+ * @throws NullPointerException if either element is null.
*/
public static DoubleRange of(final Double fromInclusive, final Double
toInclusive) {
return new DoubleRange(fromInclusive, toInclusive);