Skip to content
Permalink
Browse files
Remove this check, no longer needed.
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1537212 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Oct 30, 2013
1 parent 5d51207 commit 245418710f833ec620c54f14acc81eea15b85c09
Showing 1 changed file with 0 additions and 7 deletions.
@@ -92,10 +92,6 @@ protected void onTargetNamespaceResolved(String targetNs, boolean ignoreContents
}, 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());
@@ -126,9 +122,6 @@ public XMLValidationSchema loadSchemas(String baseURI,
}

XMLSchemaGrammar grammar = multiSchemaReader.getResult();
if (grammar == null) {
grammar = xmlSchemaReader.getResultNoError();
}
if (grammar == null) {
throw new XMLStreamException("Failed to load schemas");
}

0 comments on commit 2454187

Please sign in to comment.