ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r659190 - /webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
Date Thu, 22 May 2008 18:23:17 GMT
Author: tcunning
Date: Thu May 22 11:23:17 2008
New Revision: 659190

URL: http://svn.apache.org/viewvc?rev=659190&view=rev
Log:
SCOUT-59 : Set the TModelKey to the empty string if the key is null or the key's ID is null.

Modified:
    webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java

Modified: webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
URL: http://svn.apache.org/viewvc/webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java?rev=659190&r1=659189&r2=659190&view=diff
==============================================================================
--- webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
(original)
+++ webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
Thu May 22 11:23:17 2008
@@ -391,9 +391,10 @@
 
             Key k = scheme.getKey();
 
-			if (k != null && k.getId() != null) {
+            if (k != null && k.getId() != null) {
                 tm.setTModelKey(k.getId());
-
+            } else {
+                tm.setTModelKey("");
             }
 
             /*



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