jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1517125 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java
Date Sat, 24 Aug 2013 13:22:52 GMT
Author: stefan
Date: Sat Aug 24 13:22:51 2013
New Revision: 1517125

URL: http://svn.apache.org/r1517125
Log:
OAK-976: MicroKernel.diff() returns invalid JSON (H2)

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java?rev=1517125&r1=1517124&r2=1517125&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java
Sat Aug 24 13:22:51 2013
@@ -251,7 +251,8 @@ public class DiffBuilder {
                             super.childNodeChanged(name, before, after);
                         } else {
                             buff.tag('^');
-                            buff.value(p);
+                            buff.key(p);
+                            buff.object().endObject();
                             buff.newline();
                         }
                         ++levels;



Mime
View raw message