jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1525823 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Date Tue, 24 Sep 2013 09:35:46 GMT
Author: mduerig
Date: Tue Sep 24 09:35:46 2013
New Revision: 1525823

URL: http://svn.apache.org/r1525823
Log:
OAK-659 Move purge logic for transient changes below the NodeBuilder interface
Adjust error message

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java?rev=1525823&r1=1525822&r2=1525823&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Tue Sep 24 09:35:46 2013
@@ -501,7 +501,7 @@ public class MemoryNodeBuilder implement
         public abstract boolean isModified();
 
         public void setState(NodeState state) {
-            throw new IllegalStateException("Cannot reset a non-root builder");
+            throw new IllegalStateException("Cannot set the state of a non-root builder");
         }
 
     }



Mime
View raw message