From 7c7b9d023cd466c1771068badc020dab36beb553 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Apr 2012 14:49:11 -0500 Subject: Removed whitespaces from Java code. Whitespaces in Java code have been removed with the following command: find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \; Ticket #134 --- .../cmscore/selftests/SelfTestOrderedInstance.java | 10 ++-- .../cmscore/selftests/SelfTestSubsystem.java | 60 +++++++++++----------- 2 files changed, 35 insertions(+), 35 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/selftests') diff --git a/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java b/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java index 2146b290d..62bf09063 100644 --- a/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java +++ b/base/common/src/com/netscape/cmscore/selftests/SelfTestOrderedInstance.java @@ -34,7 +34,7 @@ import java.util.StringTokenizer; * This class implements a single element in * an ordered list of self test instances. *

- * + * * @author mharmsen * @author thomask * @version $Revision$, $Date$ @@ -63,7 +63,7 @@ public class SelfTestOrderedInstance { * A "listElement" contains a string of the form "[instanceName]" or * "[instanceName]:critical". *

- * + * * @param listElement a string containing the "instanceName" and * information indictating whether or not the instance is "critical" */ @@ -106,7 +106,7 @@ public class SelfTestOrderedInstance { /** * Returns the name associated with this self test; may be null. *

- * + * * @return instanceName of this self test */ public String getSelfTestName() { @@ -116,7 +116,7 @@ public class SelfTestOrderedInstance { /** * Returns the criticality associated with this self test. *

- * + * * @return true if failure of this self test is fatal when * it is executed; otherwise return false */ @@ -127,7 +127,7 @@ public class SelfTestOrderedInstance { /** * Sets/resets the criticality associated with this self test. *

- * + * * @param criticalMode the criticality of this self test */ public void setSelfTestCriticalMode(boolean criticalMode) { diff --git a/base/common/src/com/netscape/cmscore/selftests/SelfTestSubsystem.java b/base/common/src/com/netscape/cmscore/selftests/SelfTestSubsystem.java index 6fac3d9d7..5d56e7a85 100644 --- a/base/common/src/com/netscape/cmscore/selftests/SelfTestSubsystem.java +++ b/base/common/src/com/netscape/cmscore/selftests/SelfTestSubsystem.java @@ -55,7 +55,7 @@ import com.netscape.certsrv.selftests.ISelfTestSubsystem; /** * This class implements a container for self tests. *

- * + * * @author mharmsen * @author thomask * @version $Revision$, $Date$ @@ -108,10 +108,10 @@ public class SelfTestSubsystem /** * Signed Audit Log - * + * * This helper method is called to store messages to the signed audit log. *

- * + * * @param msg signed audit log message */ private void audit(String msg) { @@ -134,7 +134,7 @@ public class SelfTestSubsystem * substore name prepended in front of the plugin/parameter name). This * method may return null. *

- * + * * @param instancePrefix full name of configuration store * @param instanceName instance name of self test * @return fullname of this self test plugin @@ -171,7 +171,7 @@ public class SelfTestSubsystem * This helper method checks to see if an instance name/value * pair exists for the corresponding ordered list element. *

- * + * * @param element owner of this subsystem * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name/value @@ -250,7 +250,7 @@ public class SelfTestSubsystem * List the instance names of all the self tests enabled to run on demand * (in execution order); may return null. *

- * + * * @return list of self test instance names run on demand */ public String[] listSelfTestsEnabledOnDemand() { @@ -287,7 +287,7 @@ public class SelfTestSubsystem /** * Enable the specified self test to be executed on demand. *

- * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -349,7 +349,7 @@ public class SelfTestSubsystem /** * Disable the specified self test from being able to be executed on demand. *

- * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -397,7 +397,7 @@ public class SelfTestSubsystem /** * Determine if the specified self test is enabled to be executed on demand. *

- * + * * @param instanceName instance name of self test * @return true if the specified self test is enabled on demand * @exception EMissingSelfTestException subsystem has missing name @@ -436,7 +436,7 @@ public class SelfTestSubsystem * Determine if failure of the specified self test is fatal when * it is executed on demand. *

- * + * * @param instanceName instance name of self test * @return true if failure of the specified self test is fatal when * it is executed on demand @@ -489,7 +489,7 @@ public class SelfTestSubsystem /** * Execute all self tests specified to be run on demand. *

- * + * * @exception EMissingSelfTestException subsystem has missing name * @exception ESelfTestException self test exception */ @@ -575,7 +575,7 @@ public class SelfTestSubsystem * List the instance names of all the self tests enabled to run * at server startup (in execution order); may return null. *

- * + * * @return list of self test instance names run at server startup */ public String[] listSelfTestsEnabledAtStartup() { @@ -612,7 +612,7 @@ public class SelfTestSubsystem /** * Enable the specified self test at server startup. *

- * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -674,7 +674,7 @@ public class SelfTestSubsystem /** * Disable the specified self test at server startup. *

- * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -723,7 +723,7 @@ public class SelfTestSubsystem * Determine if the specified self test is executed automatically * at server startup. *

- * + * * @param instanceName instance name of self test * @return true if the specified self test is executed at server startup * @exception EMissingSelfTestException subsystem has missing name @@ -762,7 +762,7 @@ public class SelfTestSubsystem * Determine if failure of the specified self test is fatal to * server startup. *

- * + * * @param instanceName instance name of self test * @return true if failure of the specified self test is fatal to * server startup @@ -815,11 +815,11 @@ public class SelfTestSubsystem /** * Execute all self tests specified to be run at server startup. *

- * + * *

- * + * * @exception EMissingSelfTestException subsystem has missing name * @exception ESelfTestException self test exception */ @@ -957,7 +957,7 @@ public class SelfTestSubsystem * Retrieve an individual self test from the instances list * given its instance name. This method may return null. *

- * + * * @param instanceName instance name of self test * @return individual self test */ @@ -992,7 +992,7 @@ public class SelfTestSubsystem * Returns the ILogEventListener of this subsystem. * This method may return null. *

- * + * * @return ILogEventListener of this subsystem */ public ILogEventListener getSelfTestLogger() { @@ -1002,7 +1002,7 @@ public class SelfTestSubsystem /** * This method represents the log interface for the self test subsystem. *

- * + * * @param logger log event listener * @param msg self test log message */ @@ -1041,7 +1041,7 @@ public class SelfTestSubsystem * on the "on demand" list (note that the specified self test * will be appended to the end of each list). *

- * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -1094,7 +1094,7 @@ public class SelfTestSubsystem * on the "on demand" list (note that the specified self test * will be removed from each list). *

- * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -1141,7 +1141,7 @@ public class SelfTestSubsystem * on the "startup" list (note that the specified self test * will be appended to the end of each list). *

- * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -1194,7 +1194,7 @@ public class SelfTestSubsystem * on the "startup" list (note that the specified self test * will be removed from each list). *

- * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -1244,7 +1244,7 @@ public class SelfTestSubsystem * This method retrieves the name of this subsystem. This method * may return null. *

- * + * * @return identification of this subsystem */ public String getId() { @@ -1254,7 +1254,7 @@ public class SelfTestSubsystem /** * This method sets information specific to this subsystem. *

- * + * * @param id identification of this subsystem * @exception EBaseException base CMS exception */ @@ -1278,7 +1278,7 @@ public class SelfTestSubsystem /** * This method initializes this subsystem. *

- * + * * @param owner owner of this subsystem * @param config configuration store * @exception EBaseException base CMS exception @@ -1825,7 +1825,7 @@ public class SelfTestSubsystem /** * Notifies this subsystem if owner is in running mode. *

- * + * * @exception EBaseException base CMS exception */ public void startup() @@ -1891,7 +1891,7 @@ public class SelfTestSubsystem * Returns the root configuration storage of this subsystem. * This method may return null. *

- * + * * @return configuration store of this subsystem */ public IConfigStore getConfigStore() { -- cgit