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 2014/07/16 19:26:28 UTC

git commit: The writeStartDocument(String) method takes the version, not the encoding.

Repository: cxf
Updated Branches:
  refs/heads/master 877b14d08 -> c5379b9d7


The writeStartDocument(String) method takes the version, not the encoding.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c5379b9d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c5379b9d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c5379b9d

Branch: refs/heads/master
Commit: c5379b9d7b3b4d7bd08542182ade7b78663c18d3
Parents: 877b14d
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Jul 16 13:24:50 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Jul 16 13:24:50 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/cxf/staxutils/CachingXmlEventWriter.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c5379b9d/core/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java b/core/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
index 266b6a8..897a40e 100644
--- a/core/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
+++ b/core/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
@@ -146,8 +146,8 @@ public class CachingXmlEventWriter implements XMLStreamWriter {
         addEvent(factory.createStartDocument());
     }
 
-    public void writeStartDocument(String arg0) throws XMLStreamException {
-        addEvent(factory.createStartDocument(arg0));        
+    public void writeStartDocument(String version) throws XMLStreamException {
+        addEvent(factory.createStartDocument(null, version));        
     }
 
     public void writeStartDocument(String arg0, String arg1) throws XMLStreamException {