You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pr...@apache.org on 2008/02/18 17:48:31 UTC

svn commit: r628808 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java

Author: pradine
Date: Mon Feb 18 08:48:30 2008
New Revision: 628808

URL: http://svn.apache.org/viewvc?rev=628808&view=rev
Log:
Fix build break. Need to check for null when storing info on the binding.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java?rev=628808&r1=628807&r2=628808&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingImpl.java Mon Feb 18 08:48:30 2008
@@ -117,13 +117,13 @@
     }
     
     public void setAddressingNamespace(String addressingNamespace) {
-        //TODO NLS enable
-        throw new UnsupportedOperationException("This method is not supported for the current binding, " + bindingId);   
+        if (addressingNamespace != null)
+            throw new UnsupportedOperationException("This method is not supported for the current binding, " + bindingId);   
     }
 
     public void setAxis2EndpointReference(EndpointReference epr) {
-        //TODO NLS enable
-        throw new UnsupportedOperationException("This method is not supported for the current binding, " + bindingId);   
+        if (epr != null)
+            throw new UnsupportedOperationException("This method is not supported for the current binding, " + bindingId);   
     }
 
     public String getAddressingNamespace() {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org