axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r478929 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
Date Fri, 24 Nov 2006 17:33:16 GMT
Author: saminda
Date: Fri Nov 24 09:33:15 2006
New Revision: 478929

URL: http://svn.apache.org/viewvc?view=rev&rev=478929
Log:
Fixed for JIRA -1773

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java?view=diff&rev=478929&r1=478928&r2=478929
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
Fri Nov 24 09:33:15 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