jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1189228 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
Date Wed, 26 Oct 2011 14:12:47 GMT
Author: stefan
Date: Wed Oct 26 14:12:47 2011
New Revision: 1189228

URL: http://svn.apache.org/viewvc?rev=1189228&view=rev
Log:
fixed broken getJournal

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java?rev=1189228&r1=1189227&r2=1189228&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
Wed Oct 26 14:12:47 2011
@@ -176,7 +176,7 @@ public class MicroKernelImpl implements 
                     key("msg").value(commit.getMsg());
             String diff = diffCache.get(commit.getId());
             if (diff == null) {
-                diff = diff(fromRevisionId, toRevisionId, "/");
+                diff = diff(commit.getParentId(), commit.getId(), "/");
                 diffCache.put(commit.getId(), diff);
             }
             commitBuff.key("changes").value(diff).endObject();



Mime
View raw message