cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: The writeStartDocument(String) method takes the version, not the encoding.
Date Wed, 16 Jul 2014 17:26:28 GMT
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 <dkulp@apache.org>
Authored: Wed Jul 16 13:24:50 2014 -0400
Committer: Daniel Kulp <dkulp@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 {


Mime
View raw message