diff options
Diffstat (limited to 'libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java')
-rw-r--r-- | libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java b/libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java index 45024158da6..72b7adce24c 100644 --- a/libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java +++ b/libjava/classpath/gnu/xml/stream/XMLEventWriterImpl.java @@ -155,7 +155,7 @@ public class XMLEventWriterImpl throws XMLStreamException { while (reader.hasNext()) - add(reader.next()); + add(reader.nextEvent()); } public String getPrefix(String uri) |