jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1466977 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Date Thu, 11 Apr 2013 17:09:44 GMT
Author: angela
Date: Thu Apr 11 17:09:44 2013
New Revision: 1466977

URL: http://svn.apache.org/r1466977
Log:
OAK-768 : Enhance Root API in order to provide information about the ContentSession  (ooops...
wrong merge of RootImpl#getPendingChanges. thanks michael for spotting)

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java?rev=1466977&r1=1466976&r2=1466977&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Thu Apr 11 17:09:44 2013
@@ -309,7 +309,7 @@ public class RootImpl implements Root {
     @Override
     public boolean hasPendingChanges() {
         checkLive();
-        return !getSecureBase().equals(getRootState());
+        return !getSecureBase().equals(getSecureRootState());
     }
 
     @Nonnull



Mime
View raw message