jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1177347 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java
Date Thu, 29 Sep 2011 16:09:46 GMT
Author: mduerig
Date: Thu Sep 29 16:09:46 2011
New Revision: 1177347

URL: http://svn.apache.org/viewvc?rev=1177347&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
rename

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java?rev=1177347&r1=1177346&r2=1177347&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ChangeLog.java
Thu Sep 29 16:09:46 2011
@@ -96,7 +96,7 @@ public class ChangeLog {
         // process all remaining states that were not covered by the
         // operation persistence.
         for (ItemState<?> state : affectedStates) {
-            HierarchyEntry<?> he = state.getHierarchyEntry();
+            HierarchyEntry<?> entry = state.getHierarchyEntry();
 
             switch (state.getStatus()) {
                 case EXISTING_MODIFIED:
@@ -105,16 +105,16 @@ public class ChangeLog {
                         if (changedPrimaryTypes.contains(state)) {
                             // primary type changed for a node -> force reloading upon
next
                             // access in order to be aware of modified definition etc...
-                            he.invalidate(true);
+                            entry.invalidate(true);
                         } else if (changedMixins.contains(state)) {
                             // mixin changed for a node -> force reloading upon next
                             // access in order to be aware of modified uniqueID.
-                            he.invalidate(false);
+                            entry.invalidate(false);
                         }
                     }
                     break;
                 case EXISTING_REMOVED:
-                    he.remove();
+                    entry.remove();
                     break;
                 case NEW:
                     // illegal. should not get here.
@@ -132,13 +132,13 @@ public class ChangeLog {
                     if (state.isNode() && changedMixins.contains(state)) {
                         // mixin changed for a node -> force reloading upon next
                         // access in order to be aware of modified uniqueID.
-                        he.invalidate(false);
+                        entry.invalidate(false);
                     }
                     // otherwise: ignore. operations already have been completed
                     break;
                 case INVALIDATED:
                 case REMOVED:
-                    he.invalidate(false);
+                    entry.invalidate(false);
                     break;
             }
         }



Mime
View raw message