Author: tyrell
Date: Thu Feb 28 22:25:02 2008
New Revision: 14336

Log:

Integrating the Collections API changes introduced to the Registry.

Modified:
   
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java

Modified: 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
==============================================================================
--- 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   (original)
+++ 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   Thu Feb 28 22:25:02 2008
@@ -854,11 +854,11 @@
                 Collection systemCollection = registry.newCollection();
                 registry.put("/system", systemCollection);
 
-                ResourceImpl queriesCollection = new ResourceImpl();
+                Collection queriesCollection = registry.newCollection();
                 registry.put("/system/queries", queriesCollection);
 
-                ResourceImpl mashupsResource = new ResourceImpl();             
       
-                registry.put("/mashups", mashupsResource);
+                Collection mashupsCollection = registry.newCollection();
+                registry.put("/mashups", mashupsCollection);
 
                 // This query accepts a resource path, a username, and a tag 
name, and returns the resource path if that user applied that tag to the 
resource.
                 //  Used for checking whether the current user should be 
allowed to delete the tag.

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to