(no commit message)
[utils] / support / test / org / wamblee / test / HibernateExporter.java
index 29bd2570fa4836c0295e9040539aecde39dc068d..7b0bafa9953effb0697211b665a092797945ffd5 100644 (file)
@@ -25,11 +25,19 @@ import org.hibernate.tool.hbm2ddl.SchemaExport;
 /**
  * Exporting the hibernate mapping. 
  */
-public class HibernateExporter {
+public final class HibernateExporter {
     
-    public static void main(String[] args) throws IOException {
-        String file = args[0];
-        File dir = new File(args[1]); 
+    /**
+     * Disabled constructor.
+     *
+     */
+    private HibernateExporter() { 
+        // Empty
+    }
+    
+    public static void main(String[] aArgs) throws IOException {
+        String file = aArgs[0];
+        File dir = new File(aArgs[1]); 
       
         Configuration conf = HibernateUtils.getConfiguration(dir);