mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 19:45:01 +00:00
Remove dead inline comments.
This commit is contained in:
parent
bbc690f2cb
commit
601e976b0d
@ -52,8 +52,6 @@
|
|||||||
// because it is part of the signature of deprecated methods
|
// because it is part of the signature of deprecated methods
|
||||||
public class ObjectUtils {
|
public class ObjectUtils {
|
||||||
|
|
||||||
// Null
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Class used as a null placeholder where {@code null}
|
* <p>Class used as a null placeholder where {@code null}
|
||||||
* has another meaning.</p>
|
* has another meaning.</p>
|
||||||
@ -230,8 +228,6 @@ public static boolean anyNull(final Object... values) {
|
|||||||
return !allNotNull(values);
|
return !allNotNull(values);
|
||||||
}
|
}
|
||||||
|
|
||||||
// cloning
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Clone an object.</p>
|
* <p>Clone an object.</p>
|
||||||
*
|
*
|
||||||
@ -832,8 +828,6 @@ public static void identityToString(final Appendable appendable, final Object ob
|
|||||||
.append(Integer.toHexString(System.identityHashCode(object)));
|
.append(Integer.toHexString(System.identityHashCode(object)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Identity ToString
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Gets the toString that would be produced by {@code Object}
|
* <p>Gets the toString that would be produced by {@code Object}
|
||||||
* if a class did not override toString itself. {@code null}
|
* 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
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Checks if an Object is empty or null.</p>
|
* <p>Checks if an Object is empty or null.</p>
|
||||||
*
|
*
|
||||||
@ -1110,8 +1102,6 @@ public static <T extends Comparable<? super T>> T median(final T... items) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Comparable
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Null safe comparison of Comparables.</p>
|
* <p>Null safe comparison of Comparables.</p>
|
||||||
*
|
*
|
||||||
@ -1139,8 +1129,6 @@ public static <T extends Comparable<? super T>> T min(final T... values) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Mode
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* Find the most frequently occurring item.
|
* Find the most frequently occurring item.
|
||||||
*
|
*
|
||||||
@ -1258,8 +1246,6 @@ public static <T> T requireNonEmpty(final T obj, final String message) {
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToString
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/**
|
/**
|
||||||
* <p>Gets the {@code toString} of an {@code Object} returning
|
* <p>Gets the {@code toString} of an {@code Object} returning
|
||||||
* an empty string ("") if {@code null} input.</p>
|
* an empty string ("") if {@code null} input.</p>
|
||||||
@ -1284,6 +1270,7 @@ public static <T> T requireNonEmpty(final T obj, final String message) {
|
|||||||
public static String toString(final Object obj) {
|
public static String toString(final Object obj) {
|
||||||
return obj == null ? StringUtils.EMPTY : obj.toString();
|
return obj == null ? StringUtils.EMPTY : obj.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Gets the {@code toString} of an {@code Object} returning
|
* <p>Gets the {@code toString} of an {@code Object} returning
|
||||||
* a specified text if {@code null} input.</p>
|
* a specified text if {@code null} input.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user