diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java b/pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java index f462c2e22..5b06edc5e 100644 --- a/pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java +++ b/pki/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java @@ -20,21 +20,19 @@ package com.netscape.cmscore.selftests; - /////////////////////// // import statements // /////////////////////// import java.util.StringTokenizer; - ////////////////////// // class definition // ////////////////////// /** - * This class implements a single element in - * an ordered list of self test instances. + * This class implements a single element in an ordered list of self test + * instances. * <P> * * @author mharmsen @@ -42,32 +40,32 @@ import java.util.StringTokenizer; * @version $Revision$, $Date$ */ public class SelfTestOrderedInstance { - //////////////////////// + // ////////////////////// // default parameters // - //////////////////////// + // ////////////////////// private static final String ELEMENT_DELIMITER = ":"; private static final String CRITICAL = "critical"; - //////////////////////////////////////// + // ////////////////////////////////////// // SelfTestOrderedInstance parameters // - //////////////////////////////////////// + // ////////////////////////////////////// - private String mInstanceName = null; + private String mInstanceName = null; private boolean mCritical = false; - ///////////////////// + // /////////////////// // default methods // - ///////////////////// + // /////////////////// /** - * Constructs a single element within an ordered list of self tests. - * A "listElement" contains a string of the form "[instanceName]" or + * Constructs a single element within an ordered list of self tests. A + * "listElement" contains a string of the form "[instanceName]" or * "[instanceName]:critical". * <P> - * - * @param listElement a string containing the "instanceName" and - * information indictating whether or not the instance is "critical" + * + * @param listElement a string containing the "instanceName" and information + * indictating whether or not the instance is "critical" */ public SelfTestOrderedInstance(String listElement) { // strip preceding/trailing whitespace @@ -101,14 +99,14 @@ public class SelfTestOrderedInstance { } - ///////////////////////////////////// + // /////////////////////////////////// // SelfTestOrderedInstance methods // - ///////////////////////////////////// + // /////////////////////////////////// /** * Returns the name associated with this self test; may be null. * <P> - * + * * @return instanceName of this self test */ public String getSelfTestName() { @@ -118,9 +116,9 @@ public class SelfTestOrderedInstance { /** * Returns the criticality associated with this self test. * <P> - * - * @return true if failure of this self test is fatal when - * it is executed; otherwise return false + * + * @return true if failure of this self test is fatal when it is executed; + * otherwise return false */ public boolean isSelfTestCritical() { return mCritical; @@ -129,11 +127,10 @@ public class SelfTestOrderedInstance { /** * Sets/resets the criticality associated with this self test. * <P> - * + * * @param criticalMode the criticality of this self test */ public void setSelfTestCriticalMode(boolean criticalMode) { mCritical = criticalMode; } } - |