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/cmscore/apps | |
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/cmscore/apps')
5 files changed, 17 insertions, 17 deletions
diff --git a/base/common/src/com/netscape/cmscore/apps/CMSEngine.java b/base/common/src/com/netscape/cmscore/apps/CMSEngine.java index e1981132d..2635541fa 100644 --- a/base/common/src/com/netscape/cmscore/apps/CMSEngine.java +++ b/base/common/src/com/netscape/cmscore/apps/CMSEngine.java @@ -200,7 +200,7 @@ public class CMSEngine implements ICMSEngine { private String mConfigSDSessionId = null; private Timer mSDTimer = null; - // static subsystems - must be singletons + // static subsystems - must be singletons private static SubsystemInfo[] mStaticSubsystems = { new SubsystemInfo( Debug.ID, Debug.getInstance()), @@ -218,16 +218,16 @@ public class CMSEngine implements ICMSEngine { OidLoaderSubsystem.ID, OidLoaderSubsystem.getInstance()), new SubsystemInfo( X500NameSubsystem.ID, X500NameSubsystem.getInstance()), - // skip TP subsystem; + // skip TP subsystem; // problem in needing dbsubsystem in constructor. and it's not used. new SubsystemInfo( RequestSubsystem.ID, RequestSubsystem.getInstance()), }; - // dynamic subsystems are loaded at init time, not neccessarily singletons. + // dynamic subsystems are loaded at init time, not neccessarily singletons. private static SubsystemInfo[] mDynSubsystems = null; - // final static subsystems - must be singletons. + // final static subsystems - must be singletons. private static SubsystemInfo[] mFinalSubsystems = { new SubsystemInfo( AuthSubsystem.ID, AuthSubsystem.getInstance()), @@ -328,7 +328,7 @@ public class CMSEngine implements ICMSEngine { /** * initialize all static, dynamic and final static subsystems. - * + * * @param owner null * @param config main config store. * @exception EBaseException if any error occur in subsystems during @@ -414,9 +414,9 @@ public class CMSEngine implements ICMSEngine { /** * Parse ACL resource attributes - * + * * @param resACLs same format as the resourceACLs attribute: - * + * * <PRE> * <resource name>:<permission1,permission2,...permissionn>: * <allow|deny> (<subset of the permission set>) <evaluator expression> @@ -878,7 +878,7 @@ public class CMSEngine implements ICMSEngine { throws EBaseException { IConfigStore ssconfig = mConfig.getSubStore(PROP_SUBSYSTEM); - // count number of dyn loaded subsystems. + // count number of dyn loaded subsystems. Enumeration<String> ssnames = ssconfig.getSubStoreNames(); int nsubsystems = 0; @@ -973,7 +973,7 @@ public class CMSEngine implements ICMSEngine { /** * Starts up all subsystems. subsystems must be initialized. - * + * * @exception EBaseException if any subsystem fails to startup. */ public void startup() throws EBaseException { @@ -982,7 +982,7 @@ public class CMSEngine implements ICMSEngine { startupSubsystems(mDynSubsystems); startupSubsystems(mFinalSubsystems); - // global admin servlet. (anywhere else more fit for this ?) + // global admin servlet. (anywhere else more fit for this ?) mStartupTime = System.currentTimeMillis(); @@ -1103,7 +1103,7 @@ public class CMSEngine implements ICMSEngine { while (in1.ready()) { line = in1.readLine(); if (line != null) - out1.println(lineParsing(line, newName)); + out1.println(lineParsing(line, newName)); } out1.close(); @@ -1601,7 +1601,7 @@ public class CMSEngine implements ICMSEngine { t1.setDaemon(true); t1.start(); - + // wait for command queue to emptied before proceeding to shutting down subsystems Date time = new Date(); long startTime = time.getTime(); @@ -1764,7 +1764,7 @@ public class CMSEngine implements ICMSEngine { /** * if (!version.equals("pre4.2")) * return; - * + * * Upgrade.perform(c); **/ } diff --git a/base/common/src/com/netscape/cmscore/apps/CommandQueue.java b/base/common/src/com/netscape/cmscore/apps/CommandQueue.java index 6604fea5b..f3963edb8 100644 --- a/base/common/src/com/netscape/cmscore/apps/CommandQueue.java +++ b/base/common/src/com/netscape/cmscore/apps/CommandQueue.java @@ -56,7 +56,7 @@ public class CommandQueue implements Runnable, ICommandQueue { * Overrides Thread.run(), calls batchPublish(). */ public void run() { - //int priority = Thread.MIN_PRIORITY; + //int priority = Thread.MIN_PRIORITY; //Thread.currentThread().setPriority(priority); /*------------------------------------------------- ** Loop until queue is empty diff --git a/base/common/src/com/netscape/cmscore/apps/PKIServerEvent.java b/base/common/src/com/netscape/cmscore/apps/PKIServerEvent.java index e815a9940..c49307a9e 100644 --- a/base/common/src/com/netscape/cmscore/apps/PKIServerEvent.java +++ b/base/common/src/com/netscape/cmscore/apps/PKIServerEvent.java @@ -20,7 +20,7 @@ package com.netscape.cmscore.apps; /** * A class represents a PKIServer event. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/apps/PKIServerListener.java b/base/common/src/com/netscape/cmscore/apps/PKIServerListener.java index bef70ce86..9cfcb1b31 100644 --- a/base/common/src/com/netscape/cmscore/apps/PKIServerListener.java +++ b/base/common/src/com/netscape/cmscore/apps/PKIServerListener.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.apps; * A class represents a listener that listens to * PKIServer event. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/apps/Setup.java b/base/common/src/com/netscape/cmscore/apps/Setup.java index 3486ec40e..fecf024de 100644 --- a/base/common/src/com/netscape/cmscore/apps/Setup.java +++ b/base/common/src/com/netscape/cmscore/apps/Setup.java @@ -22,7 +22,7 @@ import com.netscape.certsrv.base.IConfigStore; /** * Select certificate server serices. - * + * * @author thomask * @author nicolson * @version $Revision$, $Date$ |