jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1375476 - in /jackrabbit/oak/trunk: oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java oak-mk/src/main/java/org/apache/jackrabbit/mk/model/tree/DiffBuilder.java
Date Tue, 21 Aug 2012 11:35:22 GMT
Author: stefan
Date: Tue Aug 21 11:35:22 2012
New Revision: 1375476

URL: http://svn.apache.org/viewvc?rev=1375476&view=rev
Log:
OAK-264: MicroKernel.diff for depth limited, unspecified changes

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

Modified: jackrabbit/oak/trunk/oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java?rev=1375476&r1=1375475&r2=1375476&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
(original)
+++ jackrabbit/oak/trunk/oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
Tue Aug 21 11:35:22 2012
@@ -193,7 +193,7 @@ public interface MicroKernel {
      * The {@code depth} limit applies to the subtree rooted at {@code path}.
      * It allows to limit the depth of the diff, i.e. only changes up to the
      * specified depth will be included in full detail. changes at paths exceeding
-     * the specified depth limit will be reported as {@code ^"/some/path"},
+     * the specified depth limit will be reported as {@code ^"/some/path" : {}},
      * indicating that there are unspecified changes below that path.
      * <table border="1">
      *   <tr>

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=1375476&r1=1375475&r2=1375476&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
Tue Aug 21 11:35:22 2012
@@ -144,7 +144,7 @@ public class DiffBuilder {
                         super.childNodeChanged(name, before, after);
                     } else {
                         buff.tag('^');
-                        buff.value(p);
+                        buff.key(p);
                         buff.newline();
                     }
                     ++levels;



Mime
View raw message