jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r697974 - /jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java
Date Mon, 22 Sep 2008 20:20:52 GMT
Author: clombart
Date: Mon Sep 22 13:20:52 2008
New Revision: 697974

URL: http://svn.apache.org/viewvc?rev=697974&view=rev
Log:
Apply patch provided by Stephane Landelle for JCR-1752 (Allow users to disable validation
for the DigesterMapper). 

Modified:
    jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java

Modified: jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java?rev=697974&r1=697973&r2=697974&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/impl/digester/DigesterMapperImpl.java
Mon Sep 22 13:20:52 2008
@@ -81,5 +81,12 @@
         descriptorReader = new DigesterDescriptorReader(streams);
         this.buildMapper();
     }
+    
+    
+    public DigesterMapperImpl(InputStream[] streams, boolean validate) {
+        descriptorReader = new DigesterDescriptorReader(streams);
+        DigesterDescriptorReader.class.cast(descriptorReader).setValidating(validate);
+        this.buildMapper();
+    } 
 
 }



Mime
View raw message