shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r816713 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java
Date Fri, 18 Sep 2009 16:48:24 GMT
Author: lhazlewood
Date: Fri Sep 18 16:48:24 2009
New Revision: 816713

URL: http://svn.apache.org/viewvc?rev=816713&view=rev
Log:
Oops - forgot that java.util.Deque was a 1.6 construct - commented out for now

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java?rev=816713&r1=816712&r2=816713&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/CollectionUtils.java Fri
Sep 18 16:48:24 2009
@@ -107,7 +107,7 @@
         return list;
     }
 
-    public static <E> Deque<E> asDeque(E... elements) {
+    /*public static <E> Deque<E> asDeque(E... elements) {
         if (elements == null || elements.length == 0) {
             return new ArrayDeque<E>();
         }
@@ -116,7 +116,7 @@
         ArrayDeque<E> deque = new ArrayDeque<E>(capacity);
         Collections.addAll(deque, elements);
         return deque;
-    }
+    }*/
 
     static int computeListCapacity(int arraySize) {
         return (int) Math.min(5L + arraySize + (arraySize / 10), Integer.MAX_VALUE);



Mime
View raw message