directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r502508 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java
Date Fri, 02 Feb 2007 05:35:49 GMT
Author: akarasulu
Date: Thu Feb  1 21:35:48 2007
New Revision: 502508

URL: http://svn.apache.org/viewvc?view=rev&rev=502508
Log:
fix generics

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java?view=diff&rev=502508&r1=502507&r2=502508
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/ACIItem.java
Thu Feb  1 21:35:48 2007
@@ -107,7 +107,7 @@
      * Converts this item into a collection of {@link ACITuple}s and returns
      * it.
      */
-    public abstract Collection toTuples();
+    public abstract Collection<ACITuple> toTuples();
 
 
     /**
@@ -125,7 +125,7 @@
      */
     protected static Set toMicroOperations( Set grantsAndDenials )
     {
-        Set microOps = new HashSet();
+        Set<MicroOperation> microOps = new HashSet<MicroOperation>();
         for ( Iterator j = grantsAndDenials.iterator(); j.hasNext(); )
         {
             microOps.add( ( ( GrantAndDenial ) j.next() ).getMicroOperation() );



Mime
View raw message