diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java index fd50655fe..582b1f074 100644 --- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java +++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java @@ -52,8 +52,6 @@ // because it is part of the signature of deprecated methods public class ObjectUtils { - // Null - //----------------------------------------------------------------------- /** *

Class used as a null placeholder where {@code null} * has another meaning.

@@ -230,8 +228,6 @@ public static boolean anyNull(final Object... values) { return !allNotNull(values); } - // cloning - //----------------------------------------------------------------------- /** *

Clone an object.

* @@ -832,8 +828,6 @@ public static void identityToString(final Appendable appendable, final Object ob .append(Integer.toHexString(System.identityHashCode(object))); } - // Identity ToString - //----------------------------------------------------------------------- /** *

Gets the toString that would be produced by {@code Object} * if a class did not override toString itself. {@code null} @@ -965,8 +959,6 @@ their constant using one of the CONST() utility methods, instead: */ - // Empty checks - //----------------------------------------------------------------------- /** *

Checks if an Object is empty or null.

* @@ -1110,8 +1102,6 @@ public static > T median(final T... items) { return result; } - // Comparable - //----------------------------------------------------------------------- /** *

Null safe comparison of Comparables.

* @@ -1139,8 +1129,6 @@ public static > T min(final T... values) { } - // Mode - //----------------------------------------------------------------------- /** * Find the most frequently occurring item. * @@ -1258,8 +1246,6 @@ public static T requireNonEmpty(final T obj, final String message) { return obj; } - // ToString - //----------------------------------------------------------------------- /** *

Gets the {@code toString} of an {@code Object} returning * an empty string ("") if {@code null} input.

@@ -1284,6 +1270,7 @@ public static T requireNonEmpty(final T obj, final String message) { public static String toString(final Object obj) { return obj == null ? StringUtils.EMPTY : obj.toString(); } + /** *

Gets the {@code toString} of an {@code Object} returning * a specified text if {@code null} input.