axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r156408 - webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java
Date Mon, 07 Mar 2005 08:59:22 GMT
Author: chinthaka
Date: Mon Mar  7 00:59:20 2005
New Revision: 156408

URL: http://svn.apache.org/viewcvs?view=rev&rev=156408
Log: (empty)


Modified:
    webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java

Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java?view=diff&r1=156407&r2=156408
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/addressing/om/MessageInformationHeadersCollection.java
Mon Mar  7 00:59:20 2005
@@ -15,7 +15,6 @@
  */
 package org.apache.axis.addressing.om;
 
-import org.apache.axis.addressing.AddressingConstants;
 import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.addressing.miheaders.RelatesTo;
 import org.apache.axis.om.SOAPHeader;
@@ -91,9 +90,7 @@
      * @return
      */
     public EndpointReference getTo() {
-        if (to == null) {
-            to = new EndpointReference(AddressingConstants.WSA_TO, "");
-        }
+
         return to;
     }
 
@@ -112,9 +109,6 @@
      * @return
      */
     public EndpointReference getFrom() {
-        if (from == null) {
-            from = new EndpointReference(AddressingConstants.WSA_FROM, "");
-        }
         return from;
     }
 
@@ -133,9 +127,7 @@
      * @return
      */
     public EndpointReference getReplyTo() {
-        if (replyTo == null) {
-            replyTo = new EndpointReference(AddressingConstants.WSA_REPLY_TO, "");
-        }
+
         return replyTo;
     }
 
@@ -154,9 +146,7 @@
      * @return
      */
     public EndpointReference getFaultTo() {
-        if (faultTo == null) {
-            faultTo = new EndpointReference(AddressingConstants.WSA_FAULT_TO, "");
-        }
+
         return faultTo;
     }
 
@@ -211,9 +201,7 @@
      * @return
      */
     public RelatesTo getRelatesTo() {
-        if (relatesTo == null) {
-            relatesTo = new RelatesTo("");
-        }
+
         return relatesTo;
     }
 



Mime
View raw message