directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r542334 - in /directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm: JdbmStore.java JdbmTable.java
Date Mon, 28 May 2007 21:59:26 GMT
Author: erodriguez
Date: Mon May 28 14:59:26 2007
New Revision: 542334

URL: http://svn.apache.org/viewvc?view=rev&rev=542334
Log:
Warnings clean-up, unnecessary casts.

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

Modified: directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?view=diff&rev=542334&r1=542333&r2=542334
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Mon May 28 14:59:26 2007
@@ -721,7 +721,7 @@
 
         if ( indices.containsKey( id ) )
         {
-            return ( Index ) indices.get( id );
+            return indices.get( id );
         }
         else
         {
@@ -761,7 +761,7 @@
 
         if ( sysIndices.containsKey( id ) )
         {
-            return ( Index ) sysIndices.get( id );
+            return sysIndices.get( id );
         }
         else
         {

Modified: directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java?view=diff&rev=542334&r1=542333&r2=542334
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
Mon May 28 14:59:26 2007
@@ -1443,7 +1443,7 @@
     {
         if ( duplicateBtrees.containsKey( redirect.getRecId() ) )
         {
-            return ( BTree ) duplicateBtrees.get( redirect.getRecId() );
+            return duplicateBtrees.get( redirect.getRecId() );
         }
         
         try



Mime
View raw message