git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
test
/
enterprise
/
src
/
main
/
java
/
org
/
wamblee
/
support
/
persistence
/
DatabaseStarter.java
diff --git
a/test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
b/test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
index 5fdaa25aca3c781deed6d8afbeef07b26edf4485..1afefd808046667b129f91de6cfafd4fcb36ea37 100644
(file)
--- a/
test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
+++ b/
test/enterprise/src/main/java/org/wamblee/support/persistence/DatabaseStarter.java
@@
-16,7
+16,7
@@
package org.wamblee.support.persistence;
/**
package org.wamblee.support.persistence;
/**
- * This class is used for starting the database
from ant
.
+ * This class is used for starting the database
as a main program
.
*/
public class DatabaseStarter {
*/
public class DatabaseStarter {
@@
-37,10
+37,10
@@
public class DatabaseStarter {
* where the database class name must be the name of a concrete subclass of
* {@link Database}.
*
* where the database class name must be the name of a concrete subclass of
* {@link Database}.
*
- * @param args
+ * @param a
A
rgs
*/
*/
- public static void main(String[] args) throws Exception {
- String clazz = args[0];
+ public static void main(String[] a
A
rgs) throws Exception {
+ String clazz = a
A
rgs[0];
try {
new DatabaseStarter(Class.forName(clazz)).start();
} catch (Exception e) {
try {
new DatabaseStarter(Class.forName(clazz)).start();
} catch (Exception e) {