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"
This commit is contained in:
Adrián Vázquez Barrera 2024-03-25 17:34:19 +01:00 committed by GitHub
parent 2f28cef08f
commit 03c15abb44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1493,7 +1493,7 @@ public class NumberUtils {
* value is returned.</p>
*
* <pre>
* 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
* </pre>