cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1153615 - in /cxf/branches/2.4.x-fixes: ./ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java
Date Wed, 03 Aug 2011 19:08:32 GMT
Author: dkulp
Date: Wed Aug  3 19:08:32 2011
New Revision: 1153615

URL: http://svn.apache.org/viewvc?rev=1153615&view=rev
Log:
Merged revisions 1153547 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1153547 | dkulp | 2011-08-03 11:44:34 -0400 (Wed, 03 Aug 2011) | 2 lines
  
  Add the Version object to the message so it can be queried from the
  context.
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java

Propchange: cxf/branches/2.4.x-fixes/
            ('svn:mergeinfo' removed)

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.4.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java?rev=1153615&r1=1153614&r2=1153615&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapMessage.java
Wed Aug  3 19:08:32 2011
@@ -35,18 +35,19 @@ public class SoapMessage extends Message
 
     public SoapMessage(Message message) {
         super(message);
-        version = Soap11.getInstance();
+        setVersion(Soap11.getInstance());
     }
     public SoapMessage(SoapVersion ver) {
         super();
-        version = ver;
+        setVersion(ver);
     }
 
     public SoapVersion getVersion() {
         return version;
     }
 
-    public void setVersion(SoapVersion v) {
+    public final void setVersion(SoapVersion v) {
+        super.put(SoapVersion.class, v);
         this.version = v;
     }
     



Mime
View raw message