Author: keith
Date: Thu Apr 24 22:07:35 2008
New Revision: 16128
Log:
Changing a variable name to be more descriptive
Modified:
trunk/mashup/java/modules/core/src/org/wso2/mashup/RegistryInitializer.java
Modified:
trunk/mashup/java/modules/core/src/org/wso2/mashup/RegistryInitializer.java
==============================================================================
--- trunk/mashup/java/modules/core/src/org/wso2/mashup/RegistryInitializer.java
(original)
+++ trunk/mashup/java/modules/core/src/org/wso2/mashup/RegistryInitializer.java
Thu Apr 24 22:07:35 2008
@@ -622,11 +622,11 @@
private static void addQuery(Registry registry, String path, String sql,
String type)
throws RegistryException {
- ResourceImpl q = new ResourceImpl();
- q.setContent(sql);
- q.setMediaType(RegistryConstants.SQL_QUERY_MEDIA_TYPE);
- q.setProperty(RegistryConstants.RESULT_TYPE_PROPERTY_NAME, type);
- q.setPath(path);
- registry.put(path, q);
+ ResourceImpl resource = new ResourceImpl();
+ resource.setContent(sql);
+ resource.setMediaType(RegistryConstants.SQL_QUERY_MEDIA_TYPE);
+ resource.setProperty(RegistryConstants.RESULT_TYPE_PROPERTY_NAME,
type);
+ resource.setPath(path);
+ registry.put(path, resource);
}
}
\ No newline at end of file
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev