jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1298933 - /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
Date Fri, 09 Mar 2012 17:27:46 GMT
Author: mduerig
Date: Fri Mar  9 17:27:46 2012
New Revision: 1298933

URL: http://svn.apache.org/viewvc?rev=1298933&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- fixme: this is not safe against concurrent modifications. Either cope delta or make NodeDelta
immutable

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java?rev=1298933&r1=1298932&r2=1298933&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/TransientNodeState.java
Fri Mar  9 17:27:46 2012
@@ -100,6 +100,7 @@ public class TransientNodeState {
         Map<String, JsonValue> childEntries = getJsonObject().value();
         final NodeDelta delta = getNodeDelta();
 
+        // fixme: this is not safe against concurrent modifications. Either cope delta or
make NodeDelta immutable
         Iterator<Entry<String, JsonValue>> childNodeEntries =
             Iterators.filterIterator(childEntries.entrySet().iterator(),
                     new Predicate<Entry<String, JsonValue>>() {
@@ -140,6 +141,7 @@ public class TransientNodeState {
         Map<String, JsonValue> childEntries = getJsonObject().value();
         final NodeDelta delta = getNodeDelta();
 
+        // fixme: this is not safe against concurrent modifications. Either cope delta or
make NodeDelta immutable
         Iterator<Entry<String, JsonValue>> propertyEntries =
             Iterators.filterIterator(childEntries.entrySet().iterator(),
                     new Predicate<Entry<String, JsonValue>>() {



Mime
View raw message