jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1241914 - /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java
Date Wed, 08 Feb 2012 14:40:02 GMT
Author: mduerig
Date: Wed Feb  8 14:40:01 2012
New Revision: 1241914

URL: http://svn.apache.org/viewvc?rev=1241914&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- throw IllegalArgumentException for q = s (15.)
- typo in comment
- refine comment

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java?rev=1241914&r1=1241913&r2=1241914&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java
Wed Feb  8 14:40:01 2012
@@ -221,10 +221,10 @@ public class ChangeLog {
       8.   >/a/d:/b >/c:/a      illegal
       9.   >/a:/b >/c:/d     =  >/c:/d >/a:b
       10.  >/a:/b >/b/c:/d   =  >/a/c:/d >/a:/b
-      10'. +/b:{} >/b/c:/       illegal
+      10'. +/b:{} >/b/c:/d      illegal
       11.  >/a:/b >/b:/c     =  >/a:/c
       12.  >/a:/b/c >/b:/d   =  >/b:/d >/a:/d/c
-      12'. >/a:/b/c -/b      =  -/b -/a
+      12'. >/a:/b/c -/b      =  -/b -/a = -/a -/b
       13:  >/a:/b >/c:/d     =  >/c:/d >/a:b
       14.  >/a:/b >/c:/b/d   =  >/c:/a/d >/a:/b
       14.  >/a/b:/b >/a:/b/d    does not commute  (p > r)
@@ -491,7 +491,7 @@ public class ChangeLog {
                 return true;
             }
         }
-        else if (leq(m.to, n.to)) {  // q < s
+        else if (lt(m.to, n.to)) {  // q < s
             // See 14'.
             if (m.from == NIL) {
                 Path p = n.to.getParent();



Mime
View raw message