ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r902183 - /webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java
Date Fri, 22 Jan 2010 17:21:28 GMT
Author: tcunning
Date: Fri Jan 22 17:21:27 2010
New Revision: 902183

URL: http://svn.apache.org/viewvc?rev=902183&view=rev
Log:
SCOUT-102
Do not return null - return a new BindingTemplates() - if bindingTemplates
is null.

Modified:
    webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java

Modified: webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java
URL: http://svn.apache.org/viewvc/webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java?rev=902183&r1=902182&r2=902183&view=diff
==============================================================================
--- webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java
(original)
+++ webservices/scout/trunk/src/main/java/org/apache/ws/scout/model/uddi/v2/BusinessService.java
Fri Jan 22 17:21:27 2010
@@ -126,7 +126,7 @@
      *     
      */
     public BindingTemplates getBindingTemplates() {
-        return bindingTemplates;
+	return (bindingTemplates == null ? new BindingTemplates() : bindingTemplates) ;
     }
 
     /**



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


Mime
View raw message