Moving isEmpty to generics as per LANG-504

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-05-18 03:15:33 +00:00
parent 010401200c
commit 9209200145
1 changed files with 1 additions and 1 deletions

View File

@ -2820,7 +2820,7 @@ public class ArrayUtils {
* @return <code>true</code> if the array is empty or <code>null</code>
* @since 2.1
*/
public static boolean isEmpty(Object[] array) {
public static <T> boolean isEmpty(T[] array) {
if (array == null || array.length == 0) {
return true;
}