directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1659766 - /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
Date Sat, 14 Feb 2015 09:16:57 GMT
Author: elecharny
Date: Sat Feb 14 09:16:57 2015
New Revision: 1659766

URL: http://svn.apache.org/r1659766
Log:
Use the parameter instead of calling a method

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java?rev=1659766&r1=1659765&r2=1659766&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
Sat Feb 14 09:16:57 2015
@@ -482,7 +482,7 @@ public class PersistedBTree<K, V> extend
                 return recordManager.getNewBTreeHeader( RecordManager.COPIED_PAGE_BTREE_NAME
);
 
             default:
-                return recordManager.getBTreeHeader( getName() );
+                return recordManager.getBTreeHeader( name );
         }
     }
 



Mime
View raw message