jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1381941 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java
Date Fri, 07 Sep 2012 09:15:53 GMT
Author: mduerig
Date: Fri Sep  7 09:15:53 2012
New Revision: 1381941

URL: http://svn.apache.org/viewvc?rev=1381941&view=rev
Log:
OAK-66: JCR Node Type Management
node type validation: value constraints: URI

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java?rev=1381941&r1=1381940&r2=1381941&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/constraint/Constraints.java
Fri Sep  7 09:15:53 2012
@@ -104,7 +104,7 @@ public class Constraints {
     }
 
     private static Predicate<Value> uriConstraint(String constraint) {
-        return Predicates.alwaysTrue(); // todo implement uriConstraint
+        return new StringConstraint(constraint);
     }
 
     private static Predicate<Value> decimalConstraint(String constraint) {



Mime
View raw message