Author: deepal
Date: Wed Feb 6 01:00:18 2008
New Revision: 13311
Log:
making export method as static
Modified:
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/utils/RegistryClientUtils.java
Modified:
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/utils/RegistryClientUtils.java
==============================================================================
---
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/utils/RegistryClientUtils.java
(original)
+++
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/utils/RegistryClientUtils.java
Wed Feb 6 01:00:18 2008
@@ -72,7 +72,7 @@
* @param registry : Registry instance
* @throws RegistryException : If something went wrong
*/
- public void exportFromRegistry(File toFile, String path, Registry registry)
+ public static void exportFromRegistry(File toFile, String path, Registry
registry)
throws RegistryException {
try {
processExport(path, toFile, registry);
@@ -105,7 +105,7 @@
}
}
- private void processExport(String resourcePath,
+ private static void processExport(String resourcePath,
File toFile, Registry registry) throws
RegistryException {
Resource resource = registry.get(resourcePath);
if (resource != null) {
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev