You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/12/05 16:17:31 UTC
[commons-lang] branch master updated: [LANG-1622] Corrected
reference to right methods. (#667)
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 9bd9643 [LANG-1622] Corrected reference to right methods. (#667)
9bd9643 is described below
commit 9bd9643a0bf2137b70690f4e77056d10b1a936da
Author: Kanak Sony <ka...@gmail.com>
AuthorDate: Sat Dec 5 21:47:19 2020 +0530
[LANG-1622] Corrected reference to right methods. (#667)
---
src/main/java/org/apache/commons/lang3/BooleanUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/BooleanUtils.java b/src/main/java/org/apache/commons/lang3/BooleanUtils.java
index 54f0292..6b0d9b0 100644
--- a/src/main/java/org/apache/commons/lang3/BooleanUtils.java
+++ b/src/main/java/org/apache/commons/lang3/BooleanUtils.java
@@ -548,9 +548,9 @@ public class BooleanUtils {
* 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