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, 25 insertions, 27 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 c5dece115..dba72b6de 100644
--- a/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
+++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java
@@ -1,4 +1,5 @@
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
@@ -18,37 +19,34 @@ 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;
+ }
}