git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added header.
[utils]
/
support
/
test
/
org
/
wamblee
/
test
/
HibernateExporter.java
diff --git
a/support/test/org/wamblee/test/HibernateExporter.java
b/support/test/org/wamblee/test/HibernateExporter.java
index 29bd2570fa4836c0295e9040539aecde39dc068d..7b0bafa9953effb0697211b665a092797945ffd5 100644
(file)
--- a/
support/test/org/wamblee/test/HibernateExporter.java
+++ b/
support/test/org/wamblee/test/HibernateExporter.java
@@
-25,11
+25,19
@@
import org.hibernate.tool.hbm2ddl.SchemaExport;
/**
* Exporting the hibernate mapping.
*/
/**
* 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);
Configuration conf = HibernateUtils.getConfiguration(dir);