directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r600752 - /directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Date Tue, 04 Dec 2007 00:53:42 GMT
Author: akarasulu
Date: Mon Dec  3 16:53:40 2007
New Revision: 600752

URL: http://svn.apache.org/viewvc?rev=600752&view=rev
Log:
cleaning unnecessary casts

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=600752&r1=600751&r2=600752&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
Mon Dec  3 16:53:40 2007
@@ -440,7 +440,6 @@
 
     /**
      * Close the parttion : we have to close all the userIndices and the master table.
-     *
      */
     public synchronized void destroy()
     {
@@ -1068,7 +1067,7 @@
         
         while ( list.hasMore() )
         {
-            String attributeId = ( String ) list.next();
+            String attributeId = list.next();
             String attributeOid = oidRegistry.getOid( attributeId );
 
             if ( hasUserIndexOn( attributeOid ) )
@@ -1129,7 +1128,7 @@
 
         while ( attrs.hasMore() )
         {
-            String attributeId = ( ( String ) attrs.next() );
+            String attributeId = attrs.next();
             String attributeOid = oidRegistry.getOid( attributeId );
 
             if ( hasUserIndexOn( attributeOid ) )
@@ -1469,7 +1468,7 @@
 
                 while ( attrs.hasMore() )
                 {
-                    String attrId = ( String ) attrs.next();
+                    String attrId = attrs.next();
                     Attribute attr = mods.get( attrId );
                     add( id, entry, attr );
                 }
@@ -1481,7 +1480,7 @@
 
                 while ( attrs.hasMore() )
                 {
-                    String attrId = ( String ) attrs.next();
+                    String attrId = attrs.next();
                     Attribute attr = mods.get( attrId );
                     remove( id, entry, attr );
                 }
@@ -1493,7 +1492,7 @@
 
                 while ( attrs.hasMore() )
                 {
-                    String attrId = ( String ) attrs.next();
+                    String attrId = attrs.next();
                     Attribute attr = mods.get( attrId );
                     replace( id, entry, attr );
                 }



Mime
View raw message