mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
removed comments and changed flag expression
This commit is contained in:
@@ -66,15 +66,9 @@ public final class CreateAdministrator {
|
||||
throws Exception {
|
||||
CommandLineParser parser = new DefaultParser();
|
||||
Options options = new Options();
|
||||
// Console console = System.console();
|
||||
|
||||
CreateAdministrator ca = new CreateAdministrator();
|
||||
|
||||
// char[] password1 = null;
|
||||
// char[] password2 = null;
|
||||
// boolean dataOK = false;
|
||||
// String language = I18nUtil.getDefaultLocale().getLanguage();
|
||||
|
||||
options.addOption("e", "email", true, "administrator email address");
|
||||
options.addOption("f", "first", true, "administrator first name");
|
||||
options.addOption("h", "help", false, "explain create-administrator options");
|
||||
@@ -158,7 +152,7 @@ public final class CreateAdministrator {
|
||||
}
|
||||
|
||||
while (!dataOK) {
|
||||
if (flag == false) {
|
||||
if (!flag) {
|
||||
System.out.print("E-mail address: ");
|
||||
System.out.flush();
|
||||
|
||||
|
Reference in New Issue
Block a user