cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1537212 - /cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java
Date Wed, 30 Oct 2013 17:58:53 GMT
Author: dkulp
Date: Wed Oct 30 17:58:53 2013
New Revision: 1537212

URL: http://svn.apache.org/r1537212
Log:
Remove this check, no longer needed.

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java?rev=1537212&r1=1537211&r2=1537212&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java
(original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java
Wed Oct 30 17:58:53 2013
@@ -92,10 +92,6 @@ public class W3CMultiSchemaFactory exten
             }, new ExpressionPool());
         }
         
-        public final XMLSchemaGrammar getResultNoError() {
-            return grammar;
-        }
-        
         public void setLocator(Locator locator) {
             if (locator == null && getLocator() != null && getLocator().getSystemId()
!= null) {
                 sysIds.add(getLocator().getSystemId());
@@ -127,9 +123,6 @@ public class W3CMultiSchemaFactory exten
         
         XMLSchemaGrammar grammar = multiSchemaReader.getResult();
         if (grammar == null) {
-            grammar = xmlSchemaReader.getResultNoError();
-        }        
-        if (grammar == null) {
             throw new XMLStreamException("Failed to load schemas");
         }
         return new W3CSchema(grammar); 



Mime
View raw message