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/logging/AuditEventFactory.java | 8 ++--- .../com/netscape/cmscore/logging/AuditFormat.java | 2 +- .../src/com/netscape/cmscore/logging/LogQueue.java | 12 +++---- .../com/netscape/cmscore/logging/LogSubsystem.java | 6 ++-- .../src/com/netscape/cmscore/logging/Logger.java | 42 +++++++++++----------- .../cmscore/logging/SignedAuditEventFactory.java | 8 ++--- .../cmscore/logging/SignedAuditLogger.java | 2 +- .../cmscore/logging/SystemEventFactory.java | 8 ++--- 8 files changed, 44 insertions(+), 44 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/logging') diff --git a/base/common/src/com/netscape/cmscore/logging/AuditEventFactory.java b/base/common/src/com/netscape/cmscore/logging/AuditEventFactory.java index 438b3abb9..fea638eb6 100644 --- a/base/common/src/com/netscape/cmscore/logging/AuditEventFactory.java +++ b/base/common/src/com/netscape/cmscore/logging/AuditEventFactory.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.logging.ILogger; /** * A log event object for handling audit messages *

- * + * * @author mikep * @author mzhao * @version $Revision$, $Date$ @@ -48,7 +48,7 @@ public class AuditEventFactory implements ILogEventFactory { /** * Creates an log event. - * + * * @param evtClass the event type * @param prop the resource bundle * @param source the subsystem ID who creates the log event @@ -72,7 +72,7 @@ public class AuditEventFactory implements ILogEventFactory { /** * Set the resource bundle of the log event. - * + * * @param prop the properties * @param event the log event */ @@ -90,7 +90,7 @@ public class AuditEventFactory implements ILogEventFactory { /** * Releases an log event. - * + * * @param e the log event */ public void release(ILogEvent e) { diff --git a/base/common/src/com/netscape/cmscore/logging/AuditFormat.java b/base/common/src/com/netscape/cmscore/logging/AuditFormat.java index a5ce83251..9ba62babb 100644 --- a/base/common/src/com/netscape/cmscore/logging/AuditFormat.java +++ b/base/common/src/com/netscape/cmscore/logging/AuditFormat.java @@ -22,7 +22,7 @@ import com.netscape.certsrv.request.IRequest; /** * Define audit log message format - * + * * @author mzhao * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/logging/LogQueue.java b/base/common/src/com/netscape/cmscore/logging/LogQueue.java index 90ca05d81..f5b31b082 100644 --- a/base/common/src/com/netscape/cmscore/logging/LogQueue.java +++ b/base/common/src/com/netscape/cmscore/logging/LogQueue.java @@ -27,7 +27,7 @@ import com.netscape.certsrv.logging.ILogQueue; /** * A class represents a log queue. *

- * + * * @author mzhao * @version $Revision$, $Date$ */ @@ -49,7 +49,7 @@ public class LogQueue implements ILogQueue { /** * Initializes the log queue. *

- * + * */ public void init() { mListeners = new Vector(); @@ -71,7 +71,7 @@ public class LogQueue implements ILogQueue { /** * Adds an event listener. - * + * * @param listener the log event listener */ public void addLogEventListener(ILogEventListener listener) { @@ -82,7 +82,7 @@ public class LogQueue implements ILogQueue { /** * Removes an event listener. - * + * * @param listener the log event listener */ public void removeLogEventListener(ILogEventListener listener) { @@ -91,7 +91,7 @@ public class LogQueue implements ILogQueue { /** * Logs an event, and notifies logger to reuse the event. - * + * * @param event the log event */ public void log(ILogEvent event) { @@ -106,7 +106,7 @@ public class LogQueue implements ILogQueue { // ConsoleError.send(new SystemEvent(CMS.getUserMessage("CMS_LOG_EVENT_FAILED", // event.getEventType(), e.toString()))); - // Don't do this again. + // Don't do this again. removeLogEventListener((ILogEventListener) mListeners.elementAt(i)); } } diff --git a/base/common/src/com/netscape/cmscore/logging/LogSubsystem.java b/base/common/src/com/netscape/cmscore/logging/LogSubsystem.java index 1cfce4e65..86e7f529c 100644 --- a/base/common/src/com/netscape/cmscore/logging/LogSubsystem.java +++ b/base/common/src/com/netscape/cmscore/logging/LogSubsystem.java @@ -35,7 +35,7 @@ import com.netscape.cmscore.util.Debug; /** * A class represents a log subsystem. *

- * + * * @author thomask * @author mzhao * @version $Revision$, $Date$ @@ -75,7 +75,7 @@ public class LogSubsystem implements ILogSubsystem { /** * Initializes the log subsystem. *

- * + * * @param owner owner of this subsystem * @param config configuration store */ @@ -178,7 +178,7 @@ public class LogSubsystem implements ILogSubsystem { /** * Returns the root configuration storage of this system. *

- * + * * @return configuration store of this subsystem */ public IConfigStore getConfigStore() { diff --git a/base/common/src/com/netscape/cmscore/logging/Logger.java b/base/common/src/com/netscape/cmscore/logging/Logger.java index 79895e263..b27147f20 100644 --- a/base/common/src/com/netscape/cmscore/logging/Logger.java +++ b/base/common/src/com/netscape/cmscore/logging/Logger.java @@ -29,7 +29,7 @@ import com.netscape.certsrv.logging.ILogger; * A class represents certificate server logger * implementation. *

- * + * * @author thomask * @author mzhao * @version $Revision$, $Date$ @@ -69,7 +69,7 @@ public class Logger implements ILogger { /** * Registers log factory. - * + * * @param evtClass the event class name: ILogger.EV_SYSTEM or ILogger.EV_AUDIT * @param f the event factory name */ @@ -80,7 +80,7 @@ public class Logger implements ILogger { //************** default level **************** /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param msg the one line detail message to be logged @@ -91,7 +91,7 @@ public class Logger implements ILogger { /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -105,7 +105,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param level the level of the log event @@ -117,7 +117,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -132,7 +132,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -145,7 +145,7 @@ public class Logger implements ILogger { /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -158,7 +158,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -178,7 +178,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param level the level of the log event @@ -193,7 +193,7 @@ public class Logger implements ILogger { //*************** the real implementation ***************** /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -210,7 +210,7 @@ public class Logger implements ILogger { //************** default level **************** /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param msg the one line detail message to be logged @@ -222,7 +222,7 @@ public class Logger implements ILogger { /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -237,7 +237,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param level the level of the log event @@ -250,7 +250,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -266,7 +266,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -280,7 +280,7 @@ public class Logger implements ILogger { /** * Logs an event using default log level: ILogger.LL_INFO - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -294,7 +294,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -315,7 +315,7 @@ public class Logger implements ILogger { /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param source the source of the log event * @param level the level of the log event @@ -331,7 +331,7 @@ public class Logger implements ILogger { //*************** the real implementation ***************** /** * Logs an event to the log queue. - * + * * @param evtClass What kind of event it is: EV_AUDIT or EV_SYSTEM. * @param props the resource bundle used for the detailed message * @param source the source of the log event @@ -364,7 +364,7 @@ public class Logger implements ILogger { /** * Notifies logger to reuse the event. This framework * opens up possibility to reuse event. - * + * * @param event a log event */ public void release(ILogEvent event) { diff --git a/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java b/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java index 48570cada..6ba492dc3 100644 --- a/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java +++ b/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java @@ -29,7 +29,7 @@ import com.netscape.cmscore.util.Debug; /** * A log event object for handling system messages *

- * + * * @author mikep * @author mzhao * @author cfu @@ -50,7 +50,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Creates an log event. - * + * * @param evtClass the event type * @param prop the resource bundle * @param source the subsystem ID who creates the log event @@ -98,7 +98,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Set the resource bundle of the log event. - * + * * @param prop the properties * @param event the log event */ @@ -116,7 +116,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Releases an log event. - * + * * @param e the log event */ public void release(ILogEvent e) { diff --git a/base/common/src/com/netscape/cmscore/logging/SignedAuditLogger.java b/base/common/src/com/netscape/cmscore/logging/SignedAuditLogger.java index acc2b866f..4b6fd55a2 100644 --- a/base/common/src/com/netscape/cmscore/logging/SignedAuditLogger.java +++ b/base/common/src/com/netscape/cmscore/logging/SignedAuditLogger.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.logging; * A class represents certificate server logger * implementation. *

- * + * * @author thomask * @author mzhao * @version $Revision$, $Date$ diff --git a/base/common/src/com/netscape/cmscore/logging/SystemEventFactory.java b/base/common/src/com/netscape/cmscore/logging/SystemEventFactory.java index dfe25f03f..6821fac6f 100644 --- a/base/common/src/com/netscape/cmscore/logging/SystemEventFactory.java +++ b/base/common/src/com/netscape/cmscore/logging/SystemEventFactory.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.logging.SystemEvent; /** * A log event object for handling system messages *

- * + * * @author mikep * @author mzhao * @version $Revision$, $Date$ @@ -48,7 +48,7 @@ public class SystemEventFactory implements ILogEventFactory { /** * Creates an log event. - * + * * @param evtClass the event type * @param prop the resource bundle * @param source the subsystem ID who creates the log event @@ -72,7 +72,7 @@ public class SystemEventFactory implements ILogEventFactory { /** * Set the resource bundle of the log event. - * + * * @param prop the properties * @param event the log event */ @@ -90,7 +90,7 @@ public class SystemEventFactory implements ILogEventFactory { /** * Releases an log event. - * + * * @param e the log event */ public void release(ILogEvent e) { -- cgit