[EMAIL PROTECTED] wrote:
+    public void exportToRegistry(File file, String path) throws 
RegistryException {
+        try {
+            processImport(file, path);
+        } catch (Exception e) {
+            e.printStackTrace();
+            throw new RegistryException(e.getMessage());
+        }
+    }

Please rename the above method "import".

+    public void importFromRegistry(File toFile, String path) throws 
RegistryException {
+        try {
+            processExport(path, toFile);
+        } catch (Exception e) {
+            e.printStackTrace();
+            throw new RegistryException(e.getMessage());
+        }
+    }

Please rename the above method "export".

The current names don't make sense ... having a method named importFromRegistry calling processExport is the hint ;-).

Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: [EMAIL PROTECTED]; cell: +1 650 265 8311 | +94 77 787 6880

"Oxygenating the Web Service Platform."

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to