You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/10/12 14:39:16 UTC

svn commit: r584146 - /directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java

Author: elecharny
Date: Fri Oct 12 05:39:00 2007
New Revision: 584146

URL: http://svn.apache.org/viewvc?rev=584146&view=rev
Log:
Removed some warnings

Modified:
    directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java

Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?rev=584146&r1=584145&r2=584146&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java (original)
+++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java Fri Oct 12 05:39:00 2007
@@ -1064,7 +1064,7 @@
         hierarchyIdx.add( parentId, id );
 
         // Now work on the user defined userIndices
-        NamingEnumeration list = entry.getIDs();
+        NamingEnumeration<String> list = entry.getIDs();
         
         while ( list.hasMore() )
         {
@@ -1077,7 +1077,7 @@
                 
                 // here lookup by attributeId is ok since we got attributeId from 
                 // the entry via the enumeration - it's in there as is for sure
-                NamingEnumeration values = entry.get( attributeId ).getAll();
+                NamingEnumeration<?> values = entry.get( attributeId ).getAll();
 
                 while ( values.hasMore() )
                 {
@@ -1108,7 +1108,7 @@
     {
         Attributes entry = lookup( id );
         Long parentId = getParentId( id );
-        NamingEnumeration attrs = entry.getIDs();
+        NamingEnumeration<String> attrs = entry.getIDs();
 
         Attribute objectClass = AttributeUtils.getAttribute( entry, OBJECT_CLASS_AT );
         
@@ -1138,7 +1138,7 @@
 
                 // here lookup by attributeId is ok since we got attributeId from 
                 // the entry via the enumeration - it's in there as is for sure
-                NamingEnumeration values = entry.get( attributeId ).getAll();
+                NamingEnumeration<?> values = entry.get( attributeId ).getAll();
 
                 while ( values.hasMore() )
                 {
@@ -1375,7 +1375,7 @@
         else
         {
             Attribute entryAttr = AttributeUtils.getAttribute( entry, attrType );
-            NamingEnumeration values = mods.getAll();
+            NamingEnumeration<?> values = mods.getAll();
             
             while ( values.hasMore() )
             {
@@ -1458,7 +1458,7 @@
 
     public void modify( LdapDN dn, int modOp, Attributes mods ) throws NamingException
     {
-        NamingEnumeration attrs;
+        NamingEnumeration<String> attrs;
         Long id = getEntryId( dn.toString() );
         Attributes entry = master.get( id );
 
@@ -1551,7 +1551,7 @@
 
 
     /**
-     * Changes the relative distinuished name of an entry specified by a 
+     * Changes the relative distinguished name of an entry specified by a 
      * distinguished name with the optional removal of the old Rdn attribute
      * value from the entry.  Name changes propagate down as dn changes to the 
      * descendants of the entry where the Rdn changed.