summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/util
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 14:49:11 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:03:25 -0500
commit7c7b9d023cd466c1771068badc020dab36beb553 (patch)
tree178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/cmscore/util
parentda1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff)
downloadpki-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/util')
-rw-r--r--base/common/src/com/netscape/cmscore/util/Debug.java14
-rw-r--r--base/common/src/com/netscape/cmscore/util/FileDialogFilter.java2
-rw-r--r--base/common/src/com/netscape/cmscore/util/StatsSubsystem.java4
-rw-r--r--base/common/src/com/netscape/cmscore/util/UtilMessage.java26
-rw-r--r--base/common/src/com/netscape/cmscore/util/UtilResources.java2
5 files changed, 24 insertions, 24 deletions
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:
- *
+ *
* <pre>
* if (Debug.on()) {
* Debug.trace(&quot;obj is: &quot; + obj);
* }
* </pre>
- *
+ *
* @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:
- *
+ *
* <pre>
* OBNOXIOUS = 10
* VERBOSE = 5
* INFORM = 1
* </pre>
- *
+ *
* Or another value
*/
@@ -307,7 +307,7 @@ public class Debug
/**
* Debug subsystem initialization. This subsystem is usually
* given the following parameters:
- *
+ *
* <pre>
* 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;
* <P>
* Copied verbatium from sun.awt.tiny.TinyFileDialogPeer. Used by RollingLogFile expiration code
* <P>
- *
+ *
* @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.
* <P>
- *
+ *
* @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.
* <P>
- *
+ *
* @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
* <P>
- *
+ *
* @param msgFormat the message string
*/
public UtilMessage(String msgFormat) {
@@ -54,12 +54,12 @@ public class UtilMessage {
/**
* Constructs a message with a parameter. For example,
- *
+ *
* <PRE>
* new UtilMessage(&quot;failed to load {0}&quot;, fileName);
* </PRE>
* <P>
- *
+ *
* @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,
- *
+ *
* <PRE>
* try {
* ...
@@ -82,7 +82,7 @@ public class UtilMessage {
* }
* </PRE>
* <P>
- *
+ *
* @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.
- *
+ *
* <PRE>
* try {
* ...
@@ -104,7 +104,7 @@ public class UtilMessage {
* }
* </PRE>
* <P>
- *
+ *
* @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.
* <P>
- *
+ *
* @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.
* <P>
- *
+ *
* @return details message
*/
public String getMessage() {
@@ -139,7 +139,7 @@ public class UtilMessage {
/**
* Returns a list of parameters.
* <P>
- *
+ *
* @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.
* <P>
- *
+ *
* @return details message
*/
public String toString() {
@@ -160,7 +160,7 @@ public class UtilMessage {
/**
* Returns the string based on the given locale.
* <P>
- *
+ *
* @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
* <P>
- *
+ *
* @author mikep
* @version $Revision$, $Date$
* @see java.util.ListResourceBundle