Repository: cxf
Updated Branches:
  refs/heads/master d5aed7c04 -> eb1049f81


[CXF-7087] Fixing a typo


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

Branch: refs/heads/master
Commit: eb1049f812f49052f6bf9b954dea4cb74ea983a3
Parents: d5aed7c
Author: Sergey Beryozkin <sberyoz...@gmail.com>
Authored: Thu Oct 13 13:37:26 2016 +0100
Committer: Sergey Beryozkin <sberyoz...@gmail.com>
Committed: Thu Oct 13 13:37:26 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/eb1049f8/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java
 
b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java
index 07f835f..cbd9b71 100644
--- 
a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java
+++ 
b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java
@@ -53,10 +53,11 @@ public class WSDLGetOutInterceptor extends 
AbstractPhaseInterceptor<Message> {
         }
         message.put(Message.CONTENT_TYPE, "text/xml");
         try {
-            StaxUtils.writeDocument(doc, writer, true,
+            StaxUtils.writeDocument(doc, writer,
                                     
!MessageUtils.getContextualBoolean(message, 
                                                                        
StaxOutInterceptor.FORCE_START_DOCUMENT, 
-                                                                       false));
+                                                                       false),
+                                    true);
         } catch (XMLStreamException e) {
             throw new Fault(e);
         }

Reply via email to