summaryrefslogtreecommitdiffstats
path: root/base/util/src/com/netscape/cmsutil/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/util/src/com/netscape/cmsutil/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/util/src/com/netscape/cmsutil/util')
-rw-r--r--base/util/src/com/netscape/cmsutil/util/Fmt.java2
-rw-r--r--base/util/src/com/netscape/cmsutil/util/HMACDigest.java22
-rw-r--r--base/util/src/com/netscape/cmsutil/util/Utils.java2
3 files changed, 13 insertions, 13 deletions
diff --git a/base/util/src/com/netscape/cmsutil/util/Fmt.java b/base/util/src/com/netscape/cmsutil/util/Fmt.java
index a24b8d090..c167c6cc3 100644
--- a/base/util/src/com/netscape/cmsutil/util/Fmt.java
+++ b/base/util/src/com/netscape/cmsutil/util/Fmt.java
@@ -595,7 +595,7 @@ public class Fmt {
* show( Fmt.fmt( 1.0D / 8.0D ) );
* System.out.println( "Done with tests." );
* }
- *
+ *
* private static void show( String str )
* {
* System.out.println( "#" + str + "#" );
diff --git a/base/util/src/com/netscape/cmsutil/util/HMACDigest.java b/base/util/src/com/netscape/cmsutil/util/HMACDigest.java
index 09bf53bbf..c0d86184c 100644
--- a/base/util/src/com/netscape/cmsutil/util/HMACDigest.java
+++ b/base/util/src/com/netscape/cmsutil/util/HMACDigest.java
@@ -22,7 +22,7 @@ import java.security.MessageDigest;
/**
* This class implements the HMAC algorithm specified in RFC 2104 using
* any MessageDigest.
- *
+ *
* @author mikep
* @version $Revision$, $Date$
* @see java.security.MessageDigest
@@ -49,7 +49,7 @@ public class HMACDigest implements Cloneable {
/**
* Creates an HMACDigest
- *
+ *
* @param md The MessageDigest to be used for the HMAC calculation. It
* must be clonable.
*/
@@ -60,7 +60,7 @@ public class HMACDigest implements Cloneable {
/**
* Creates an HMACDigest and initializes the HMAC function
* with the given key.
- *
+ *
* @param md The MessageDigest to be used for the HMAC calculation. It
* must be clonable.
* @param key The key value to be used in the HMAC calculation
@@ -79,18 +79,18 @@ public class HMACDigest implements Cloneable {
/**
* Initialize the HMAC function
- *
+ *
* The HMAC transform looks like:
- *
+ *
* hash(key XOR opad, hash(key XOR ipad, text))
- *
+ *
* where key is an n byte key
* ipad is the byte 0x36 repeated 64 times
* opad is the byte 0x5c repeated 64 times
* and text is the data being protected
- *
+ *
* This routine must be called after every reset.
- *
+ *
* @param key The password used to protect the hash value
*/
public void init(byte[] key) {
@@ -131,7 +131,7 @@ public class HMACDigest implements Cloneable {
/**
* Updates the digest using the specified array of bytes.
- *
+ *
* @param input the array of bytes.
*/
public void update(byte[] input) {
@@ -141,7 +141,7 @@ public class HMACDigest implements Cloneable {
/**
* Completes the HMAC computation with the outer pad
* The digest is reset after this call is made.
- *
+ *
* @return the array of bytes for the resulting hash value.
*/
public byte[] digest() {
@@ -173,7 +173,7 @@ public class HMACDigest implements Cloneable {
/**
* Clone the HMACDigest
- *
+ *
* @return a clone if the implementation is cloneable.
* @exception CloneNotSupportedException if this is called on a
* MessageDigest implementation that does not support <code>Cloneable</code>.
diff --git a/base/util/src/com/netscape/cmsutil/util/Utils.java b/base/util/src/com/netscape/cmsutil/util/Utils.java
index 303566416..bfd1e5297 100644
--- a/base/util/src/com/netscape/cmsutil/util/Utils.java
+++ b/base/util/src/com/netscape/cmsutil/util/Utils.java
@@ -236,7 +236,7 @@ public class Utils {
/**
* strips out double quotes around String parameter
- *
+ *
* @param s the string potentially bracketed with double quotes
* @return string stripped of surrounding double quotes
*/