jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r789485 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java
Date Mon, 29 Jun 2009 23:05:57 GMT
Author: tripod
Date: Mon Jun 29 23:05:57 2009
New Revision: 789485

URL: http://svn.apache.org/viewvc?rev=789485&view=rev
Log:
JCR-2176 NodeTypeDefinitionFactory does not set required type

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java?rev=789485&r1=789484&r2=789485&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeDefinitionFactory.java
Mon Jun 29 23:05:57 2009
@@ -148,6 +148,7 @@
         pt.setMandatory(qPd.isMandatory());
         pt.setOnParentVersion(qPd.getOnParentVersion());
         pt.setProtected(qPd.isProtected());
+        pt.setRequiredType(qPd.getRequiredType());
         pt.setMultiple(qPd.isMultiple());
         pt.setFullTextSearchable(qPd.isFullTextSearchable());
         pt.setValueConstraints(createValueConstraints(qPd.getRequiredType(), qPd.getValueConstraints()));



Mime
View raw message