ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r747538 - /webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
Date Tue, 24 Feb 2009 20:44:25 GMT
Author: tcunning
Date: Tue Feb 24 20:44:25 2009
New Revision: 747538

URL: http://svn.apache.org/viewvc?rev=747538&view=rev
Log:
SCOUT-73
Create empty TModelBag but do not fill it with an empty array, it causes
problems with queries that previously existed.

Modified:
    webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java

Modified: webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
URL: http://svn.apache.org/viewvc/webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java?rev=747538&r1=747537&r2=747538&view=diff
==============================================================================
--- webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
(original)
+++ webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
Tue Feb 24 20:44:25 2009
@@ -698,10 +698,8 @@
 		if (tModelBag != null) {
 			request.setTModelBag(tModelBag);
 		} else {
-			TModelBag tmb = TModelBag.Factory.newInstance();
-			tmb.setTModelKeyArray(new String[1]);
-			request.setTModelBag(tmb);
- 		}
+			request.setTModelBag(TModelBag.Factory.newInstance());
+		}
 
 		if (findQualifiers != null) {
 			request.setFindQualifiers(findQualifiers);



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