cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsosno...@apache.org
Subject svn commit: r1144797 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java
Date Sun, 10 Jul 2011 09:27:32 GMT
Author: dsosnoski
Date: Sun Jul 10 09:27:32 2011
New Revision: 1144797

URL: http://svn.apache.org/viewvc?rev=1144797&view=rev
Log:
Merge unused constructor.

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java?rev=1144797&r1=1144796&r2=1144797&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java (original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java Sun Jul 10 09:27:32
2011
@@ -99,30 +99,20 @@ public class RMEndpoint {
     private long lastControlMessage;
 
     /**
-     * Constructor when WS-ReliableMessaging version to be used is already known.
+     * Constructor.
      * 
      * @param m
      * @param ae
      * @param codec
      */
     public RMEndpoint(RMManager m, Endpoint ae, EncoderDecoder codec) {
-        this(m, ae);
-        encoderDecoder = codec;
-    }
-
-    /**
-     * Constructor when WS-ReliableMessaging version to be used is not yet known.
-     * 
-     * @param m
-     * @param ae
-     */
-    public RMEndpoint(RMManager m, Endpoint ae) {
         manager = m;
         applicationEndpoint = ae;
         source = new Source(this);
         destination = new Destination(this);
         proxy = new Proxy(this);
         servant = new Servant(this);
+        encoderDecoder = codec;
     }
 
     /**



Mime
View raw message