axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From barre...@apache.org
Subject svn commit: r528071 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Date Thu, 12 Apr 2007 18:18:24 GMT
Author: barrettj
Date: Thu Apr 12 11:18:23 2007
New Revision: 528071

URL: http://svn.apache.org/viewvc?view=rev&rev=528071
Log:
String construction using "?:" operation incorrect in exception constructor.

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java?view=diff&rev=528071&r1=528070&r2=528071
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Thu Apr 12 11:18:23 2007
@@ -260,13 +260,13 @@
                     // This guards against the case where an addPort was done previously
and now a getPort is done on it.
                     // TODO: RAS & NLS
                     throw ExceptionFactory.makeWebServiceException(
-                            "ServiceDescription.updateEndpointDescription: Can not do a getPort
on a port added via addPort().  PortQN: " +
-                                    portQName != null ? portQName.toString() : "not specified");
+                        "ServiceDescription.updateEndpointDescription: Can not do a getPort
on a port added via addPort().  PortQN: " +
+                        (portQName != null ? portQName.toString() : "not specified"));
                 } else if (sei == null) {
                     // TODO: RAS & NLS
                     throw ExceptionFactory.makeWebServiceException(
-                            "ServiceDescription.updateEndpointDescription: Can not do a getPort
with a null SEI.  PortQN: " +
-                                    portQName != null ? portQName.toString() : "not specified");
+                        "ServiceDescription.updateEndpointDescription: Can not do a getPort
with a null SEI.  PortQN: " +
+                        (portQName != null ? portQName.toString() : "not specified"));
                 } else if (endpointDescription == null) {
                     // Use the SEI Class and its annotations to finish creating the Description
hierachy: Endpoint, EndpointInterface, Operations, Parameters, etc.
                     // TODO: Need to create the Axis Description objects after we have all
the config info (i.e. from this SEI)



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


Mime
View raw message