jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1513419 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
Date Tue, 13 Aug 2013 10:11:57 GMT
Author: mduerig
Date: Tue Aug 13 10:11:57 2013
New Revision: 1513419

URL: http://svn.apache.org/r1513419
Log:
OAK-659 Move purge logic for transient changes below the NodeBuilder interface
remove unused local variable

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java?rev=1513419&r1=1513418&r2=1513419&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
Tue Aug 13 10:11:57 2013
@@ -242,7 +242,6 @@ class KernelNodeStoreBranch extends Abst
     }
 
     private void persistTransientHead() {
-        KernelNodeState oldBase = base;
         NodeState oldHead = head;
         String oldHeadRevision = headRevision;
         boolean success = false;
@@ -279,7 +278,6 @@ class KernelNodeStoreBranch extends Abst
         } finally {
             // revert to old state if unsuccessful
             if (!success) {
-                base = oldBase;
                 head = oldHead;
                 headRevision = oldHeadRevision;
             }



Mime
View raw message