You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/10/30 18:58:53 UTC

svn commit: r1537212 - /cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java

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);