jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1416492 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Date Mon, 03 Dec 2012 12:39:51 GMT
Author: angela
Date: Mon Dec  3 12:39:50 2012
New Revision: 1416492

URL: http://svn.apache.org/viewvc?rev=1416492&view=rev
Log:
add checkLive to RootImpl#getBlobFactory

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=1416492&r1=1416491&r2=1416492&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
Mon Dec  3 12:39:50 2012
@@ -305,6 +305,8 @@ public class RootImpl implements Root {
     @Nonnull
     @Override
     public BlobFactory getBlobFactory() {
+        checkLive();
+
         return new BlobFactory() {
             @Override
             public Blob createBlob(InputStream inputStream) throws IOException {



Mime
View raw message