Use the parameter instead of calling a method
authorEmmanuel Lécharny <elecharny@apache.org>
Sat, 14 Feb 2015 09:16:57 +0000 (09:16 +0000)
committerEmmanuel Lécharny <elecharny@apache.org>
Sat, 14 Feb 2015 09:16:57 +0000 (09:16 +0000)
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java

index 9f1d9aa..5cd8ea6 100644 (file)
@@ -482,7 +482,7 @@ public class PersistedBTree<K, V> extends AbstractBTree<K, V> implements Closeab
                 return recordManager.getNewBTreeHeader( RecordManager.COPIED_PAGE_BTREE_NAME );
 
             default:
-                return recordManager.getBTreeHeader( getName() );
+                return recordManager.getBTreeHeader( name );
         }
     }