directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r577368 - /directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java
Date Wed, 19 Sep 2007 16:56:50 GMT
Author: elecharny
Date: Wed Sep 19 09:56:49 2007
New Revision: 577368

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

Modified:
    directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java

Modified: directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java?rev=577368&r1=577367&r2=577368&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java
(original)
+++ directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java
Wed Sep 19 09:56:49 2007
@@ -245,10 +245,10 @@
     }
 
 
-    public Iterator descendants( String ancestorId ) throws NamingException
+    public Iterator<AttributeType> descendants( String ancestorId ) throws NamingException
     {
         String oid = oidRegistry.getOid( ancestorId );
-        Set descendants = oidToDescendantSet.get( oid );
+        Set<AttributeType> descendants = oidToDescendantSet.get( oid );
         if ( descendants == null )
         {
             return Collections.EMPTY_SET.iterator();



Mime
View raw message