[LANG-1622] Corrected reference to right methods. (#667)

This commit is contained in:
Kanak Sony 2020-12-05 21:47:19 +05:30 committed by GitHub
parent 66b54723f0
commit 9bd9643a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -548,9 +548,9 @@ public static Boolean toBooleanObject(final int value, final int trueValue, fina
* if unboxed to a {@code boolean}.</p>
*
* <pre>
* BooleanUtils.toBoolean(Integer.valueOf(0)) = Boolean.FALSE
* BooleanUtils.toBoolean(Integer.valueOf(1)) = Boolean.TRUE
* BooleanUtils.toBoolean(Integer.valueOf(null)) = null
* BooleanUtils.toBooleanObject(Integer.valueOf(0)) = Boolean.FALSE
* BooleanUtils.toBooleanObject(Integer.valueOf(1)) = Boolean.TRUE
* BooleanUtils.toBooleanObject(Integer.valueOf(null)) = null
* </pre>
*
* @param value the Integer to convert