From 03c15abb44128d2f1e8198e62be0be93f37dc7e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adri=C3=A1n=20V=C3=A1zquez=20Barrera?=
Date: Mon, 25 Mar 2024 17:34:19 +0100
Subject: [PATCH] Confusing javadoc typo
Typo fixed. The javadoc was written:
"NumberUtils.toFloat(null, 1.1f) = 1.0f"
That is not correct, it should be:
"NumberUtils.toFloat(null, 1.1f) = 1.1f"
---
src/main/java/org/apache/commons/lang3/math/NumberUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
index 8efb2b0af..c0b47929d 100644
--- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
+++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
@@ -1493,7 +1493,7 @@ public class NumberUtils {
* value is returned.
*
*
- * NumberUtils.toFloat(null, 1.1f) = 1.0f
+ * NumberUtils.toFloat(null, 1.1f) = 1.1f
* NumberUtils.toFloat("", 1.1f) = 1.1f
* NumberUtils.toFloat("1.5", 0.0f) = 1.5f
*