axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r478921 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
Date Fri, 24 Nov 2006 17:21:19 GMT
Author: saminda
Date: Fri Nov 24 09:21:18 2006
New Revision: 478921

URL: http://svn.apache.org/viewvc?view=rev&rev=478921
Log:
Fix JIRA-1773

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java?view=diff&rev=478921&r1=478920&r2=478921
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
Fri Nov 24 09:21:18 2006
@@ -98,7 +98,10 @@
             if (serviceNameatt != null) {
                 if (!"".equals(serviceNameatt.getAttributeValue().trim())) {
                     service.setName(serviceNameatt.getAttributeValue());
-                    service.setServiceDescription(serviceNameatt.getAttributeValue());
+                    // To be on the safe side
+                    if (service.getServiceDescription() == null) {
+                        service.setServiceDescription(serviceNameatt.getAttributeValue());
+                    }
                 }
             }
             



---------------------------------------------------------------------
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