diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-05 14:49:11 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-09 10:03:25 -0500 |
commit | 7c7b9d023cd466c1771068badc020dab36beb553 (patch) | |
tree | 178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/certsrv/selftests | |
parent | da1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff) | |
download | pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz pki-7c7b9d023cd466c1771068badc020dab36beb553.zip |
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
Diffstat (limited to 'base/common/src/com/netscape/certsrv/selftests')
7 files changed, 60 insertions, 60 deletions
diff --git a/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java b/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java index 958919e1e..3233f0bed 100644 --- a/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java +++ b/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java @@ -32,10 +32,10 @@ package com.netscape.certsrv.selftests; * This class implements a duplicate self test exception. * EDuplicateSelfTestExceptions are derived from ESelfTestExceptions * in order to allow users to easily do self tests without try-catch clauses. - * + * * EDuplicateSelfTestExceptions should be caught by SelfTestSubsystem managers. * <P> - * + * * @version $Revision$, $Date$ */ public class EDuplicateSelfTestException @@ -72,7 +72,7 @@ public class EDuplicateSelfTestException /** * Constructs a "duplicate" self test exception. * <P> - * + * * @param instanceName duplicate "instanceName" exception details */ public EDuplicateSelfTestException(String instanceName) { @@ -94,7 +94,7 @@ public class EDuplicateSelfTestException * Constructs a "duplicate" self test exception where the value is always * a duplicate from a name/value pair * <P> - * + * * @param instanceName duplicate "instanceName" exception details * @param instanceValue duplicate "instanceValue" exception details */ @@ -125,7 +125,7 @@ public class EDuplicateSelfTestException * duplicate from a substore.parameter/value pair; (the value passed in may * be null). * <P> - * + * * @param instanceStore duplicate "instanceStore" exception details * @param instanceParameter duplicate "instanceParameter" exception details * @param instanceValue duplicate "instanceValue" exception details @@ -163,7 +163,7 @@ public class EDuplicateSelfTestException /** * Returns the instance name associated with this self test. * <P> - * + * * @return name portion of the name/value pair */ public String getInstanceName() { @@ -173,7 +173,7 @@ public class EDuplicateSelfTestException /** * Returns the store associated with this self test. * <P> - * + * * @return substore portion of the substore.parameter/value pair */ public String getInstanceStore() { @@ -183,7 +183,7 @@ public class EDuplicateSelfTestException /** * Returns the parameter associated with this self test. * <P> - * + * * @return parameter portion of the substore.parameter/value pair */ public String getInstanceParameter() { @@ -193,7 +193,7 @@ public class EDuplicateSelfTestException /** * Returns the value associated with this self test. * <P> - * + * * @return value portion of the name/value pair */ public String getInstanceValue() { diff --git a/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java b/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java index 58592b89b..fcb4948d7 100644 --- a/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java +++ b/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java @@ -32,10 +32,10 @@ package com.netscape.certsrv.selftests; * This class implements an invalid self test exception. * EInvalidSelfTestExceptions are derived from ESelfTestExceptions * in order to allow users to easily do self tests without try-catch clauses. - * + * * EInvalidSelfTestExceptions should be caught by SelfTestSubsystem managers. * <P> - * + * * @version $Revision$, $Date$ */ public class EInvalidSelfTestException @@ -72,7 +72,7 @@ public class EInvalidSelfTestException /** * Constructs an "invalid" self test exception. * <P> - * + * * @param instanceName invalid "instanceName" exception details */ public EInvalidSelfTestException(String instanceName) { @@ -94,7 +94,7 @@ public class EInvalidSelfTestException * Constructs a "invalid" self test exception where the value is always * invalid from a name/value pair * <P> - * + * * @param instanceName invalid "instanceName" exception details * @param instanceValue invalid "instanceValue" exception details */ @@ -125,7 +125,7 @@ public class EInvalidSelfTestException * invalid from a substore.parameter/value pair; (the value passed in may * be null). * <P> - * + * * @param instanceStore invalid "instanceStore" exception details * @param instanceParameter invalid "instanceParameter" exception details * @param instanceValue invalid "instanceValue" exception details @@ -163,7 +163,7 @@ public class EInvalidSelfTestException /** * Returns the instance name associated with this self test. * <P> - * + * * @return name portion of the name/value pair */ public String getInstanceName() { @@ -173,7 +173,7 @@ public class EInvalidSelfTestException /** * Returns the store associated with this self test. * <P> - * + * * @return substore portion of the substore.parameter/value pair */ public String getInstanceStore() { @@ -183,7 +183,7 @@ public class EInvalidSelfTestException /** * Returns the parameter associated with this self test. * <P> - * + * * @return parameter portion of the substore.parameter/value pair */ public String getInstanceParameter() { @@ -193,7 +193,7 @@ public class EInvalidSelfTestException /** * Returns the value associated with this self test. * <P> - * + * * @return value portion of the name/value pair */ public String getInstanceValue() { diff --git a/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java b/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java index c15852f4f..ea5be7b77 100644 --- a/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java +++ b/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java @@ -32,10 +32,10 @@ package com.netscape.certsrv.selftests; * This class implements a missing self test exception. * EMissingSelfTestExceptions are derived from ESelfTestExceptions * in order to allow users to easily do self tests without try-catch clauses. - * + * * EMissingSelfTestExceptions should be caught by SelfTestSubsystem managers. * <P> - * + * * @version $Revision$, $Date$ */ public class EMissingSelfTestException @@ -72,7 +72,7 @@ public class EMissingSelfTestException /** * Constructs a "missing" self test exception where the name is null * <P> - * + * */ public EMissingSelfTestException() { super("The self test plugin property name is null."); @@ -82,7 +82,7 @@ public class EMissingSelfTestException * Constructs a "missing" self test exception where the name is always * missing from a name/value pair. * <P> - * + * * @param instanceName missing "instanceName" exception details */ public EMissingSelfTestException(String instanceName) { @@ -104,7 +104,7 @@ public class EMissingSelfTestException * Constructs a "missing" self test exception where the value is always * missing from a name/value pair; (the value passed in is always null). * <P> - * + * * @param instanceName missing "instanceName" exception details * @param instanceValue missing "instanceValue" exception details * (always null) @@ -134,7 +134,7 @@ public class EMissingSelfTestException * missing from a substore.parameter/value pair; (the value passed in may * be null). * <P> - * + * * @param instanceStore missing "instanceStore" exception details * @param instanceParameter missing "instanceParameter" exception details * @param instanceValue missing "instanceValue" exception details @@ -172,7 +172,7 @@ public class EMissingSelfTestException /** * Returns the instance name associated with this self test. * <P> - * + * * @return name portion of the name/value pair */ public String getInstanceName() { @@ -182,7 +182,7 @@ public class EMissingSelfTestException /** * Returns the store associated with this self test. * <P> - * + * * @return substore portion of the substore.parameter/value pair */ public String getInstanceStore() { @@ -192,7 +192,7 @@ public class EMissingSelfTestException /** * Returns the parameter associated with this self test. * <P> - * + * * @return parameter portion of the substore.parameter/value pair */ public String getInstanceParameter() { @@ -202,7 +202,7 @@ public class EMissingSelfTestException /** * Returns the value associated with this self test. * <P> - * + * * @return value portion of the name/value pair */ public String getInstanceValue() { diff --git a/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java b/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java index 6c4f6bf2f..ed97a83a1 100644 --- a/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java +++ b/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java @@ -34,10 +34,10 @@ import com.netscape.certsrv.base.EBaseException; * This class implements a self test exception. ESelfTestExceptions * are derived from EBaseExceptions in order to allow users * to easily do self tests without try-catch clauses. - * + * * ESelfTestExceptions should be caught by SelfTestSubsystem managers. * <P> - * + * * @version $Revision$, $Date$ */ public class ESelfTestException @@ -73,7 +73,7 @@ public class ESelfTestException /** * Constructs a self test exception. * <P> - * + * * @param msg exception details */ public ESelfTestException(String msg) { @@ -87,7 +87,7 @@ public class ESelfTestException /** * Returns the bundle file name. * <P> - * + * * @return name of bundle class associated with this exception. */ protected String getBundleName() { diff --git a/base/common/src/com/netscape/certsrv/selftests/ISelfTest.java b/base/common/src/com/netscape/certsrv/selftests/ISelfTest.java index 04285a9dc..24ad623e4 100644 --- a/base/common/src/com/netscape/certsrv/selftests/ISelfTest.java +++ b/base/common/src/com/netscape/certsrv/selftests/ISelfTest.java @@ -36,7 +36,7 @@ import com.netscape.certsrv.logging.ILogEventListener; /** * This class defines the interface of an individual self test. * <P> - * + * * @version $Revision$, $Date$ */ public interface ISelfTest { @@ -62,7 +62,7 @@ public interface ISelfTest { * Initializes this subsystem with the configuration store * associated with this instance name. * <P> - * + * * @param subsystem the associated subsystem * @param instanceName the name of this self test instance * @param parameters configuration store (self test parameters) @@ -80,7 +80,7 @@ public interface ISelfTest { /** * Notifies this subsystem if it is in execution mode. * <P> - * + * * @exception ESelfTestException failed to start */ public void startupSelfTest() @@ -97,7 +97,7 @@ public interface ISelfTest { * Returns the name associated with this self test. This method may * return null if the self test has not been intialized. * <P> - * + * * @return instanceName of this self test */ public String getSelfTestName(); @@ -106,7 +106,7 @@ public interface ISelfTest { * Returns the root configuration storage (self test parameters) * associated with this subsystem. * <P> - * + * * @return configuration store (self test parameters) of this subsystem */ public IConfigStore getSelfTestConfigStore(); @@ -115,7 +115,7 @@ public interface ISelfTest { * Retrieves description associated with an individual self test. * This method may return null. * <P> - * + * * @param locale locale of the client that requests the description * @return description of self test */ @@ -124,7 +124,7 @@ public interface ISelfTest { /** * Execute an individual self test. * <P> - * + * * @param logger specifies logging subsystem * @exception ESelfTestException self test exception */ diff --git a/base/common/src/com/netscape/certsrv/selftests/ISelfTestSubsystem.java b/base/common/src/com/netscape/certsrv/selftests/ISelfTestSubsystem.java index d16627ab5..214ee1764 100644 --- a/base/common/src/com/netscape/certsrv/selftests/ISelfTestSubsystem.java +++ b/base/common/src/com/netscape/certsrv/selftests/ISelfTestSubsystem.java @@ -34,7 +34,7 @@ import com.netscape.certsrv.logging.ILogEventListener; /** * This class defines the interface of a container for self tests. * <P> - * + * * @version $Revision$, $Date$ */ public interface ISelfTestSubsystem @@ -76,7 +76,7 @@ public interface ISelfTestSubsystem * List the instance names of all the self tests enabled to run on demand * (in execution order); may return null. * <P> - * + * * @return list of self test instance names run on demand */ public String[] listSelfTestsEnabledOnDemand(); @@ -84,7 +84,7 @@ public interface ISelfTestSubsystem /** * Enable the specified self test to be executed on demand. * <P> - * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -98,7 +98,7 @@ public interface ISelfTestSubsystem /** * Disable the specified self test from being able to be executed on demand. * <P> - * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -108,7 +108,7 @@ public interface ISelfTestSubsystem /** * Determine if the specified self test is enabled to be executed on demand. * <P> - * + * * @param instanceName instance name of self test * @return true if the specified self test is enabled on demand * @exception EMissingSelfTestException subsystem has missing name @@ -120,7 +120,7 @@ public interface ISelfTestSubsystem * Determine if failure of the specified self test is fatal when * it is executed on demand. * <P> - * + * * @param instanceName instance name of self test * @return true if failure of the specified self test is fatal when * it is executed on demand @@ -132,7 +132,7 @@ public interface ISelfTestSubsystem /** * Execute all self tests specified to be run on demand. * <P> - * + * * @exception EMissingSelfTestException subsystem has missing name * @exception ESelfTestException self test exception */ @@ -147,7 +147,7 @@ public interface ISelfTestSubsystem * List the instance names of all the self tests enabled to run * at server startup (in execution order); may return null. * <P> - * + * * @return list of self test instance names run at server startup */ public String[] listSelfTestsEnabledAtStartup(); @@ -155,7 +155,7 @@ public interface ISelfTestSubsystem /** * Enable the specified self test at server startup. * <P> - * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -169,7 +169,7 @@ public interface ISelfTestSubsystem /** * Disable the specified self test at server startup. * <P> - * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -180,7 +180,7 @@ public interface ISelfTestSubsystem * Determine if the specified self test is executed automatically * at server startup. * <P> - * + * * @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 @@ -192,7 +192,7 @@ public interface ISelfTestSubsystem * Determine if failure of the specified self test is fatal to * server startup. * <P> - * + * * @param instanceName instance name of self test * @return true if failure of the specified self test is fatal to * server startup @@ -204,7 +204,7 @@ public interface ISelfTestSubsystem /** * Execute all self tests specified to be run at server startup. * <P> - * + * * @exception EMissingSelfTestException subsystem has missing name * @exception ESelfTestException self test exception */ @@ -219,7 +219,7 @@ public interface ISelfTestSubsystem * Retrieve an individual self test from the instances list * given its instance name. * <P> - * + * * @param instanceName instance name of self test * @return individual self test */ @@ -233,7 +233,7 @@ public interface ISelfTestSubsystem * Returns the ILogEventListener of this subsystem. * This method may return null. * <P> - * + * * @return ILogEventListener of this subsystem */ public ILogEventListener getSelfTestLogger(); @@ -241,7 +241,7 @@ public interface ISelfTestSubsystem /** * This method represents the log interface for the self test subsystem. * <P> - * + * * @param logger log event listener * @param msg self test log message */ @@ -252,7 +252,7 @@ public interface ISelfTestSubsystem * on the "on demand" list (note that the specified self test * will be appended to the end of each list). * <P> - * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -273,7 +273,7 @@ public interface ISelfTestSubsystem * on the "on demand" list (note that the specified self test * will be removed from each list). * <P> - * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ @@ -285,7 +285,7 @@ public interface ISelfTestSubsystem * on the "startup" list (note that the specified self test * will be appended to the end of each list). * <P> - * + * * @param instanceName instance name of self test * @param isCritical isCritical is either a critical failure (true) or * a non-critical failure (false) @@ -306,7 +306,7 @@ public interface ISelfTestSubsystem * on the "startup" list (note that the specified self test * will be removed from each list). * <P> - * + * * @param instanceName instance name of self test * @exception EMissingSelfTestException subsystem has missing name */ diff --git a/base/common/src/com/netscape/certsrv/selftests/SelfTestResources.java b/base/common/src/com/netscape/certsrv/selftests/SelfTestResources.java index c7c4d372d..4107bfbb2 100644 --- a/base/common/src/com/netscape/certsrv/selftests/SelfTestResources.java +++ b/base/common/src/com/netscape/certsrv/selftests/SelfTestResources.java @@ -22,7 +22,7 @@ import java.util.ListResourceBundle; /** * A class represents a resource bundle for Self Tests. * <P> - * + * * @version $Revision$, $Date$ */ public class SelfTestResources extends ListResourceBundle { |