axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r395182 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2: client/Options.java context/MessageContext.java
Date Wed, 19 Apr 2006 08:59:05 GMT
Author: chinthaka
Date: Wed Apr 19 01:59:04 2006
New Revision: 395182

URL: http://svn.apache.org/viewcvs?rev=395182&view=rev
Log:
Arghh, forgot to commit this. Thanks David for reminding.

Renaming setRelatesTo to setRelationships


Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Options.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Options.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Options.java?rev=395182&r1=395181&r2=395182&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Options.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Options.java Wed
Apr 19 01:59:04 2006
@@ -227,7 +227,7 @@
         return (RelatesTo[]) relationships.toArray(new RelatesTo[relationships.size()]);
     }
 
-    public void setRelatesTo(RelatesTo[] list) {
+    public void setRelationships(RelatesTo[] list) {
         relationships = list == null ? null : Arrays.asList(list);
     }
 

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java?rev=395182&r1=395181&r2=395182&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
Wed Apr 19 01:59:04 2006
@@ -22,7 +22,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.addressing.RelatesTo;
-import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.description.AxisModule;
 import org.apache.axis2.description.AxisOperation;
@@ -910,7 +909,7 @@
         this.incomingTransportName = incomingTransportName;
     }
 
-    public void setRelatesTo(RelatesTo[] list) {
-        options.setRelatesTo(list);
+    public void setRelationships(RelatesTo[] list) {
+        options.setRelationships(list);
     }
 }



Mime
View raw message