summaryrefslogtreecommitdiffstats
path: root/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java')
-rw-r--r--pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java52
1 files changed, 27 insertions, 25 deletions
diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
index dba72b6d..c5dece11 100644
--- a/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
+++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
@@ -1,5 +1,4 @@
package com.netscape.pkisilent.argparser;
-
// --- BEGIN COPYRIGHT BLOCK ---
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -19,34 +18,37 @@ package com.netscape.pkisilent.argparser;
// --- END COPYRIGHT BLOCK ---
/**
- * Wrapper class which ``holds'' a boolean value, enabling methods to return
- * boolean values through arguments.
- */
-public class BooleanHolder implements java.io.Serializable {
- /**
+ * Wrapper class which ``holds'' a boolean value,
+ * enabling methods to return boolean values through
+ * arguments.
+ */
+public class BooleanHolder implements java.io.Serializable
+{
+ /**
*
*/
private static final long serialVersionUID = -2863748864787121510L;
/**
- * Value of the boolean, set and examined by the application as needed.
- */
- public boolean value;
+ * Value of the boolean, set and examined
+ * by the application as needed.
+ */
+ public boolean value;
- /**
- * Constructs a new <code>BooleanHolder</code> with an initial value of
- * <code>false</code>.
- */
- public BooleanHolder() {
- value = false;
- }
+ /**
+ * Constructs a new <code>BooleanHolder</code> with an initial
+ * value of <code>false</code>.
+ */
+ public BooleanHolder ()
+ { value = false;
+ }
- /**
- * Constructs a new <code>BooleanHolder</code> with a specific initial
- * value.
- *
- * @param b Initial boolean value.
- */
- public BooleanHolder(boolean b) {
- value = b;
- }
+ /**
+ * Constructs a new <code>BooleanHolder</code> with a
+ * specific initial value.
+ *
+ * @param b Initial boolean value.
+ */
+ public BooleanHolder (boolean b)
+ { value = b;
+ }
}