jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1564297 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelBlob.java
Date Tue, 04 Feb 2014 13:42:02 GMT
Author: mduerig
Date: Tue Feb  4 13:42:02 2014
New Revision: 1564297

URL: http://svn.apache.org/r1564297
Log:
OAK-834: Efficient copying of binaries across repositories
Implement getReference() for KernelBlob

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelBlob.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelBlob.java?rev=1564297&r1=1564296&r2=1564297&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelBlob.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelBlob.java
Tue Feb  4 13:42:02 2014
@@ -65,6 +65,11 @@ public class KernelBlob extends Abstract
         return kernel.getLength(binaryID);
     }
 
+    @Override
+    public String getReference() {
+        return binaryID;
+    }
+
     /**
      * This implementation delegates back to the underlying {@code Microkernel}
      * if other is also of type {@code KernelBlob}.



Mime
View raw message