cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1023419 - in /cxf/trunk: common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java parent/pom.xml
Date Sun, 17 Oct 2010 02:31:40 GMT
Author: bimargulies
Date: Sun Oct 17 02:31:39 2010
New Revision: 1023419

URL: http://svn.apache.org/viewvc?rev=1023419&view=rev
Log:
Squash one last example of misusing XmlSchema.getItems();

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java
    cxf/trunk/parent/pom.xml

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java?rev=1023419&r1=1023418&r2=1023419&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java
(original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaUtils.java
Sun Oct 17 02:31:39 2010
@@ -190,7 +190,6 @@ public final class XmlSchemaUtils {
         }
         XmlSchemaImport imp = new XmlSchemaImport(schema);
         imp.setNamespace(namespaceUri);
-        schema.getItems().add(imp);
     }
 
     /**

Modified: cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=1023419&r1=1023418&r2=1023419&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Sun Oct 17 02:31:39 2010
@@ -33,6 +33,7 @@
     <packaging>pom</packaging>
 
     <properties>
+        <cxf.protect-xmlschema-collections>false</cxf.protect-xmlschema-collections>
         <surefire.fork.mode>once</surefire.fork.mode>
         <surefire.format>brief</surefire.format>
         <surefire.usefile>false</surefire.usefile>
@@ -258,6 +259,7 @@
                         <argLine>${surefire.fork.vmargs}</argLine>
                         <parallel>${surefire.parallel.mode}</parallel>
                         <systemPropertyVariables>
+			        <org.apache.ws.commons.schema.protectReadOnlyCollections>${cxf.protect-xmlschema-collections}</org.apache.ws.commons.schema.protectReadOnlyCollections>
                                 <useRandomPorts>true</useRandomPorts>
                                 <cxf.validateServiceSchemas>${cxf.validateServices}</cxf.validateServiceSchemas>
                                 <java.awt.headless>${java.awt.headless}</java.awt.headless>



Mime
View raw message