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 --- .../src/com/netscape/cmscore/util/Debug.java | 14 ++++++------ .../netscape/cmscore/util/FileDialogFilter.java | 2 +- .../com/netscape/cmscore/util/StatsSubsystem.java | 4 ++-- .../src/com/netscape/cmscore/util/UtilMessage.java | 26 +++++++++++----------- .../com/netscape/cmscore/util/UtilResources.java | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/util') diff --git a/base/common/src/com/netscape/cmscore/util/Debug.java b/base/common/src/com/netscape/cmscore/util/Debug.java index 8c41d5bb5..bd10a493c 100644 --- a/base/common/src/com/netscape/cmscore/util/Debug.java +++ b/base/common/src/com/netscape/cmscore/util/Debug.java @@ -62,7 +62,7 @@ public class Debug // if (Debug.ON) { // System.out.println(".."); // } - // I want to make sure that any Debug.trace() is not logged to + // I want to make sure that any Debug.trace() is not logged to // System.out if the server is running under watchdog private static boolean TRACE_ON = false; @@ -89,13 +89,13 @@ public class Debug * if the argument to Debug.trace() is an object whose toString() is * expensive, that this toString() will still be called in any case. * In such a case, it is wise to wrap the Debug.trace like this: - * + * *
      * if (Debug.on()) {
      *     Debug.trace("obj is: " + obj);
      * }
      * 
- * + * * @param level the message level. If this is >= than the currently set * level (set with setLevel() ), the message is printed * @param t the message to print @@ -259,13 +259,13 @@ public class Debug /** * Set the current debugging level. You can use: - * + * *
      * OBNOXIOUS = 10
      * VERBOSE   = 5
      * INFORM    = 1
      * 
- * + * * Or another value */ @@ -307,7 +307,7 @@ public class Debug /** * Debug subsystem initialization. This subsystem is usually * given the following parameters: - * + * *
      * debug.enabled   : (true|false) default false
      * debug.filename  : can be a pathname, or STDOUT
@@ -362,7 +362,7 @@ public class Debug
             setLevel(level);
         } catch (Exception e) {
             // Don't do anything. Logging is not set up yet, and
-            // we can't write to STDOUT. 
+            // we can't write to STDOUT.
         }
     }
 
diff --git a/base/common/src/com/netscape/cmscore/util/FileDialogFilter.java b/base/common/src/com/netscape/cmscore/util/FileDialogFilter.java
index eb1d1097a..c62d7b8b5 100644
--- a/base/common/src/com/netscape/cmscore/util/FileDialogFilter.java
+++ b/base/common/src/com/netscape/cmscore/util/FileDialogFilter.java
@@ -28,7 +28,7 @@ import java.io.FilenameFilter;
  * 

* Copied verbatium from sun.awt.tiny.TinyFileDialogPeer. Used by RollingLogFile expiration code *

- * + * * @author mikep * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/util/StatsSubsystem.java b/base/common/src/com/netscape/cmscore/util/StatsSubsystem.java index 222964261..c4d870e39 100644 --- a/base/common/src/com/netscape/cmscore/util/StatsSubsystem.java +++ b/base/common/src/com/netscape/cmscore/util/StatsSubsystem.java @@ -33,7 +33,7 @@ import com.netscape.certsrv.util.StatsEvent; * can be loaded into cert server kernel to perform * statistics collection. *

- * + * * @author thomask * @version $Revision$, $Date$ */ @@ -72,7 +72,7 @@ public class StatsSubsystem implements IStatsSubsystem { * Note that individual subsystem should be initialized in a separated thread if it has dependency on the * initialization of other subsystems. *

- * + * * @param owner owner of this subsystem * @param config configuration store */ diff --git a/base/common/src/com/netscape/cmscore/util/UtilMessage.java b/base/common/src/com/netscape/cmscore/util/UtilMessage.java index 8002cfe1f..ce2132dc4 100644 --- a/base/common/src/com/netscape/cmscore/util/UtilMessage.java +++ b/base/common/src/com/netscape/cmscore/util/UtilMessage.java @@ -24,7 +24,7 @@ import com.netscape.certsrv.base.MessageFormatter; /** * This object is used to easily create I18N messages for utility * classes and standalone programs. - * + * * @author mikep * @version $Revision$, $Date$ * @see com.netscape.certsrv.base.MessageFormatter @@ -44,7 +44,7 @@ public class UtilMessage { /** * Constructs a message event *

- * + * * @param msgFormat the message string */ public UtilMessage(String msgFormat) { @@ -54,12 +54,12 @@ public class UtilMessage { /** * Constructs a message with a parameter. For example, - * + * *

      * new UtilMessage("failed to load {0}", fileName);
      * 
*

- * + * * @param msgFormat details in message string format * @param param message string parameter */ @@ -73,7 +73,7 @@ public class UtilMessage { * Constructs a message from an exception. It can be used to carry * a system exception that may contain information about * the context. For example, - * + * *

      * 		try {
      *  		...
@@ -82,7 +82,7 @@ public class UtilMessage {
      *      }
      * 
*

- * + * * @param msgFormat exception details in message string format * @param exception system exception */ @@ -95,7 +95,7 @@ public class UtilMessage { /** * Constructs a message from a base exception. This will use the msgFormat * from the exception itself. - * + * *

      * 		try {
      *  		...
@@ -104,7 +104,7 @@ public class UtilMessage {
      *      }
      * 
*

- * + * * @param exception CMS exception */ public UtilMessage(Exception e) { @@ -117,7 +117,7 @@ public class UtilMessage { * Constructs a message event with a list of parameters * that will be substituted into the message format. *

- * + * * @param msgFormat message string format * @param params list of message format parameters */ @@ -129,7 +129,7 @@ public class UtilMessage { /** * Returns the current message format string. *

- * + * * @return details message */ public String getMessage() { @@ -139,7 +139,7 @@ public class UtilMessage { /** * Returns a list of parameters. *

- * + * * @return list of message format parameters */ public Object[] getParameters() { @@ -150,7 +150,7 @@ public class UtilMessage { * Returns localized message string. This method should * only be called if a localized string is necessary. *

- * + * * @return details message */ public String toString() { @@ -160,7 +160,7 @@ public class UtilMessage { /** * Returns the string based on the given locale. *

- * + * * @param locale locale * @return details message */ diff --git a/base/common/src/com/netscape/cmscore/util/UtilResources.java b/base/common/src/com/netscape/cmscore/util/UtilResources.java index 6955dda50..9ea7648f5 100644 --- a/base/common/src/com/netscape/cmscore/util/UtilResources.java +++ b/base/common/src/com/netscape/cmscore/util/UtilResources.java @@ -22,7 +22,7 @@ import java.util.ListResourceBundle; /** * A class represents a resource bundle for miscellanous utilities *

- * + * * @author mikep * @version $Revision$, $Date$ * @see java.util.ListResourceBundle -- cgit