Author: bayard
Date: Mon May 18 03:15:33 2009
New Revision: 775797

URL: http://svn.apache.org/viewvc?rev=775797&view=rev
Log:
Moving isEmpty to generics as per LANG-504

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java

Modified: 
commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java?rev=775797&r1=775796&r2=775797&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java 
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java 
Mon May 18 03:15:33 2009
@@ -2820,7 +2820,7 @@
      * @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;
         }


Reply via email to