Minor fix

This commit is contained in:
Arjen Poutsma
2007-10-10 20:58:39 +00:00
parent 3c7c186b82
commit 96bdd07b34

View File

@@ -59,7 +59,6 @@ public abstract class AbstractStaxStreamPayloadEndpoint extends AbstractStaxPayl
}
XMLStreamReader streamReader = null;
if (source instanceof StaxSource) {
streamReader = ((StaxSource) source).getXMLStreamReader();
StaxSource staxSource = (StaxSource) source;
streamReader = staxSource.getXMLStreamReader();
if (streamReader == null && staxSource.getXMLEventReader() != null) {