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