diff options
author | vakwetu <vakwetu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-03-24 03:15:56 +0000 |
---|---|---|
committer | vakwetu <vakwetu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-03-24 03:15:56 +0000 |
commit | 184479b2466d0dedf89fcdeab3c0d969f782a9b7 (patch) | |
tree | 4e5ec8eaf6b1b668d877ab84e9b9765a3e5b163c /pki/base/silent/src | |
parent | 353f32200c2c44ce77200bf5b433a18121019353 (diff) | |
download | pki-184479b2466d0dedf89fcdeab3c0d969f782a9b7.tar.gz pki-184479b2466d0dedf89fcdeab3c0d969f782a9b7.tar.xz pki-184479b2466d0dedf89fcdeab3c0d969f782a9b7.zip |
revert mistakenly checked in changes in rev 1920
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1921 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/silent/src')
-rw-r--r-- | pki/base/silent/src/ca/ConfigureCA.java | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/pki/base/silent/src/ca/ConfigureCA.java b/pki/base/silent/src/ca/ConfigureCA.java index 828c77c46..66fca89b9 100644 --- a/pki/base/silent/src/ca/ConfigureCA.java +++ b/pki/base/silent/src/ca/ConfigureCA.java @@ -187,9 +187,6 @@ public class ConfigureCA { public static String clone_p12_passwd = null; public static String clone_p12_file = null; - // sleep time - public static int sleep_msecs = 5; - //for correct selection of CA to be cloned public static String urls; @@ -200,7 +197,7 @@ public class ConfigureCA { public void sleep_time() { try { System.out.println("Sleeping for 5 secs.."); - Thread.sleep(sleep_msecs * 1000); + Thread.sleep(5000); } catch (Exception e) { System.out.println("ERROR: sleep problem"); } @@ -1538,7 +1535,6 @@ public class ConfigureCA { StringHolder x_sd_admin_name = new StringHolder(); StringHolder x_sd_admin_password = new StringHolder(); - StringHolder x_sleep_msecs = new StringHolder(); // parse the args ArgParser parser = new ArgParser("ConfigureCA"); @@ -1657,8 +1653,6 @@ public class ConfigureCA { parser.addOption ("-sd_admin_password %s #Security Domain admin password (optional, required if -clone=true)", x_sd_admin_password); - parser.addOption ("-sleep_msecs %s #Sleep time between panels (optional, default 5)", x_sleep_msecs); - // and then match the arguments String[] unmatched = null; @@ -1764,13 +1758,6 @@ public class ConfigureCA { sd_admin_name = x_sd_admin_name.value; sd_admin_password = x_sd_admin_password.value; - if (x_sleep_msecs != null) { - try { - sleep_msecs = Integer.parseInt(x_sleep_msecs.value); - } catch (Exception e) { - } - } - boolean st = ca.ConfigureCAInstance(); if (!st) { |