directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1551878 - in /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree: AbstractBTree.java InMemoryBTree.java PersistedBTree.java Transaction.java
Date Wed, 18 Dec 2013 08:01:19 GMT
Author: elecharny
Date: Wed Dec 18 08:01:18 2013
New Revision: 1551878

URL: http://svn.apache.org/r1551878
Log:
Made the insert(K, V, revision ) package protected

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

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractBTree.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractBTree.java?rev=1551878&r1=1551877&r2=1551878&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractBTree.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractBTree.java
Wed Dec 18 08:01:18 2013
@@ -273,7 +273,7 @@ import org.apache.directory.mavibot.btre
     /**
      * {@inheritDoc}
      */
-    abstract public InsertResult<K, V> insert( K key, V value, long revision ) throws
IOException;
+    /* no qualifier */abstract InsertResult<K, V> insert( K key, V value, long revision
) throws IOException;
 
 
     /**

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryBTree.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryBTree.java?rev=1551878&r1=1551877&r2=1551878&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryBTree.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryBTree.java
Wed Dec 18 08:01:18 2013
@@ -311,7 +311,7 @@ import org.slf4j.LoggerFactory;
      * @param revision The revision to use
      * @return an instance of the InsertResult.
      */
-    public InsertResult<K, V> insert( K key, V value, long revision ) throws IOException
+    /* no qualifier */ InsertResult<K, V> insert( K key, V value, long revision ) throws
IOException
     {
         if ( key == null )
         {

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=1551878&r1=1551877&r2=1551878&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
Wed Dec 18 08:01:18 2013
@@ -403,7 +403,7 @@ public class PersistedBTree<K, V> extend
      * @param revision The revision to use
      * @return an instance of the InsertResult.
      */
-    public InsertResult<K, V> insert( K key, V value, long revision ) throws IOException
+    /* no qualifier */ InsertResult<K, V> insert( K key, V value, long revision ) throws
IOException
     {
         if ( key == null )
         {

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Transaction.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Transaction.java?rev=1551878&r1=1551877&r2=1551878&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Transaction.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Transaction.java
Wed Dec 18 08:01:18 2013
@@ -24,7 +24,7 @@ import java.util.Date;
 
 
 /**
- * The Transaction is used to protect the BTree against concurrent modifcation,
+ * The Transaction is used to protect the BTree against concurrent modification,
  * and insure that a read is always done against one single revision. It's also
  * used to gather many modifications under one single revision, if needed.
  * <p/>
@@ -52,7 +52,7 @@ public class Transaction<K, V>
     /** The revision on which we are having a transaction */
     private volatile Page<K, V> root;
 
-    /** A flag used to tell if a transaction is closed ot not */
+    /** A flag used to tell if a transaction is closed or not */
     private volatile boolean closed;
 
 



Mime
View raw message