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 --- .../common/src/com/netscape/cms/jobs/AJobBase.java | 20 ++++++++++---------- .../src/com/netscape/cms/jobs/PublishCertsJob.java | 4 ++-- .../netscape/cms/jobs/RenewalNotificationJob.java | 22 +++++++++++----------- .../com/netscape/cms/jobs/RequestInQueueJob.java | 6 +++--- .../com/netscape/cms/jobs/UnpublishExpiredJob.java | 4 ++-- 5 files changed, 28 insertions(+), 28 deletions(-) (limited to 'base/common/src/com/netscape/cms/jobs') diff --git a/base/common/src/com/netscape/cms/jobs/AJobBase.java b/base/common/src/com/netscape/cms/jobs/AJobBase.java index 0da5d2028..bd319b94e 100644 --- a/base/common/src/com/netscape/cms/jobs/AJobBase.java +++ b/base/common/src/com/netscape/cms/jobs/AJobBase.java @@ -38,7 +38,7 @@ import com.netscape.certsrv.request.IRequest; /** * This abstract class is a base job for real job extentions for the * Jobs Scheduler. - * + * * @version $Revision$, $Date$ * @see com.netscape.certsrv.jobs.IJob */ @@ -55,7 +55,7 @@ public abstract class AJobBase implements IJob, Runnable { protected static final String STATUS_FAILURE = "failed"; protected static final String STATUS_SUCCESS = "succeeded"; - // variables used by the Job Scheduler Daemon + // variables used by the Job Scheduler Daemon protected String mImplName = null; protected IConfigStore mConfig; protected String mId = null; @@ -81,7 +81,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * tells if the job is enabled - * + * * @return a boolean value indicating whether the job is enabled * or not */ @@ -109,7 +109,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * get instance id. - * + * * @return a String identifier */ public String getId() { @@ -118,7 +118,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * set instance id. - * + * * @param id String id of the instance */ public void setId(String id) { @@ -127,7 +127,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * get cron string associated with this job - * + * * @return a JobCron object that represents the schedule of this job */ public IJobCron getJobCron() { @@ -136,7 +136,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * gets the plugin name of this job. - * + * * @return a String that is the name of this implementation */ public String getImplName() { @@ -145,7 +145,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * Gets the configuration substore used by this job - * + * * @return configuration store */ public IConfigStore getConfigStore() { @@ -265,7 +265,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * logs an entry in the log file. Used by classes extending this class. - * + * * @param level log level * @param msg log message in String */ @@ -278,7 +278,7 @@ public abstract class AJobBase implements IJob, Runnable { /** * capable of logging multiline entry in the log file. Used by classes extending this class. - * + * * @param level log level * @param msg log message in String * @param multiline boolean indicating whether the message is a diff --git a/base/common/src/com/netscape/cms/jobs/PublishCertsJob.java b/base/common/src/com/netscape/cms/jobs/PublishCertsJob.java index 28268dfab..25c80817b 100644 --- a/base/common/src/com/netscape/cms/jobs/PublishCertsJob.java +++ b/base/common/src/com/netscape/cms/jobs/PublishCertsJob.java @@ -56,7 +56,7 @@ import com.netscape.certsrv.request.RequestId; * - * + * * @version $Revision$, $Date$ */ public class PublishCertsJob extends AJobBase @@ -383,7 +383,7 @@ public class PublishCertsJob extends AJobBase * Returns a list of configuration parameter names. * The list is passed to the configuration console so instances of * this implementation can be configured through the console. - * + * * @return String array of configuration parameter names. */ public String[] getConfigParams() { diff --git a/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java b/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java index 5ca581445..2f1d479a4 100644 --- a/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java +++ b/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java @@ -50,7 +50,7 @@ import com.netscape.certsrv.request.RequestId; * A job for the Jobs Scheduler. This job checks in the internal ldap * db for certs about to expire within the next configurable days and * sends email notifications to the appropriate recipients. - * + * * the $TOKENS that are available for the this jobs's summary outer form are:
* - * + * * @version $Revision$, $Date$ * @see com.netscape.certsrv.jobs.IJob * @see com.netscape.cms.jobs.AJobBase @@ -248,7 +248,7 @@ public class RenewalNotificationJob /** * Initialize from the configuration file. - * + * * @param id String name of this instance * @param implName string name of this implementation * @param config configuration store for this instance @@ -289,7 +289,7 @@ public class RenewalNotificationJob mHttpHost = CMS.getEEHost(); mHttpPort = CMS.getEESSLPort(); - // read from the configuration file + // read from the configuration file try { mPreDays = mConfig.getInteger(PROP_NOTIFYTRIGGEROFFSET, 30); // in days mPostDays = mConfig.getInteger(PROP_NOTIFYENDOFFSET, 15); // in days @@ -354,7 +354,7 @@ public class RenewalNotificationJob // All cert records which: // 1) expire before the deadline // 2) have not already been renewed - // filter format: + // filter format: // (& (notafter<='time')(!(certAutoRenew=DONE))(!certAutoRenew=DISABLED)) StringBuffer f = new StringBuffer(); @@ -480,7 +480,7 @@ public class RenewalNotificationJob /** * get instance id. - * + * * @return a String identifier */ public String getId() { @@ -489,7 +489,7 @@ public class RenewalNotificationJob /** * set instance id. - * + * * @param id String id of the instance */ public void setId(String id) { @@ -498,7 +498,7 @@ public class RenewalNotificationJob /** * get cron string associated with this job - * + * * @return a JobCron object that represents the schedule of this job */ public IJobCron getJobCron() { @@ -507,7 +507,7 @@ public class RenewalNotificationJob /** * gets the plugin name of this job. - * + * * @return a String that is the name of this implementation */ public String getImplName() { @@ -516,7 +516,7 @@ public class RenewalNotificationJob /** * Gets the configuration substore used by this job - * + * * @return configuration store */ public IConfigStore getConfigStore() { @@ -585,7 +585,7 @@ public class RenewalNotificationJob * Returns a list of configuration parameter names. * The list is passed to the configuration console so instances of * this implementation can be configured through the console. - * + * * @return String array of configuration parameter names. */ public String[] getConfigParams() { diff --git a/base/common/src/com/netscape/cms/jobs/RequestInQueueJob.java b/base/common/src/com/netscape/cms/jobs/RequestInQueueJob.java index b04461941..5d1ea2f2b 100644 --- a/base/common/src/com/netscape/cms/jobs/RequestInQueueJob.java +++ b/base/common/src/com/netscape/cms/jobs/RequestInQueueJob.java @@ -44,7 +44,7 @@ import com.netscape.certsrv.request.RequestStatus; * - * + * * @version $Revision$, $Date$ * @see com.netscape.certsrv.jobs.IJob * @see com.netscape.cms.jobs.AJobBase @@ -104,7 +104,7 @@ public class RequestInQueueJob extends AJobBase /** * initialize from the configuration file - * + * * @param id String name of this instance * @param implName string name of this implementation * @param config configuration store for this instance @@ -208,7 +208,7 @@ public class RequestInQueueJob extends AJobBase * Returns a list of configuration parameter names. * The list is passed to the configuration console so instances of * this implementation can be configured through the console. - * + * * @return String array of configuration parameter names. */ public String[] getConfigParams() { diff --git a/base/common/src/com/netscape/cms/jobs/UnpublishExpiredJob.java b/base/common/src/com/netscape/cms/jobs/UnpublishExpiredJob.java index 2f4a6ad75..cddb8d56a 100644 --- a/base/common/src/com/netscape/cms/jobs/UnpublishExpiredJob.java +++ b/base/common/src/com/netscape/cms/jobs/UnpublishExpiredJob.java @@ -57,7 +57,7 @@ import com.netscape.certsrv.request.RequestId; * - * + * * @version $Revision$, $Date$ */ public class UnpublishExpiredJob extends AJobBase @@ -376,7 +376,7 @@ public class UnpublishExpiredJob extends AJobBase * Returns a list of configuration parameter names. * The list is passed to the configuration console so instances of * this implementation can be configured through the console. - * + * * @return String array of configuration parameter names. */ public String[] getConfigParams() { -- cgit