From 9bd9643a0bf2137b70690f4e77056d10b1a936da Mon Sep 17 00:00:00 2001 From: Kanak Sony Date: Sat, 5 Dec 2020 21:47:19 +0530 Subject: [PATCH] [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 54f0292d5..6b0d9b051 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 static Boolean toBooleanObject(final int value, final int trueValue, fina * if unboxed to a {@code boolean}.

* *
-     *   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
      * 
* * @param value the Integer to convert