cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/4] git commit: The writeStartDocument(String) method takes the version, not the encoding.
Date Thu, 17 Jul 2014 16:05:53 GMT
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/6c2f9592
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6c2f9592
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6c2f9592

Branch: refs/heads/2.7.x-fixes
Commit: 6c2f9592316f85f1bde467492374e7ba28df1a16
Parents: 726bbbc
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Jul 16 13:24:50 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Jul 17 11:49:10 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/6c2f9592/api/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java b/api/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
index 266b6a8..897a40e 100644
--- a/api/src/main/java/org/apache/cxf/staxutils/CachingXmlEventWriter.java
+++ b/api/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