commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1552918 - in /commons/proper/codec/trunk/src: main/java/org/apache/commons/codec/digest/Md5Crypt.java main/java/org/apache/commons/codec/digest/Sha2Crypt.java test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
Date Sat, 21 Dec 2013 16:27:00 GMT
Author: ggregory
Date: Sat Dec 21 16:26:59 2013
New Revision: 1552918

URL: http://svn.apache.org/r1552918
Log:
Remove trailing white spaces on all lines.

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java
    commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java?rev=1552918&r1=1552917&r2=1552918&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
Sat Dec 21 16:26:59 2013
@@ -165,7 +165,7 @@ public class Md5Crypt {
      * Generates a libc6 crypt() "$1$" or Apache htpasswd "$apr1$" hash value.
      * <p>
      * See {@link Crypt#crypt(String, String)} or {@link #apr1Crypt(String, String)} for
details.
-     * 
+     *
      * @param keyBytes
      *            plaintext string to hash.
      * @param salt May be null.

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java?rev=1552918&r1=1552917&r2=1552918&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java
Sat Dec 21 16:26:59 2013
@@ -34,7 +34,7 @@ import org.apache.commons.codec.Charsets
  * into the Public Domain.
  * <p>
  * This class is immutable and thread-safe.
- * 
+ *
  * @version $Id$
  * @since 1.7
  */
@@ -72,7 +72,7 @@ public class Sha2Crypt {
      * Generates a libc crypt() compatible "$5$" hash value with random salt.
      * <p>
      * See {@link Crypt#crypt(String, String)} for details.
-     * 
+     *
      * @param keyBytes
      *            plaintext to hash
      * @return complete hash value
@@ -87,7 +87,7 @@ public class Sha2Crypt {
      * Generates a libc6 crypt() compatible "$5$" hash value.
      * <p>
      * See {@link Crypt#crypt(String, String)} for details.
-     * 
+     *
      * @param keyBytes
      *            plaintext to hash
      * @param salt
@@ -112,7 +112,7 @@ public class Sha2Crypt {
      * description, the short C-style ones from the original C code and the ones with "Remark"
from me.
      * <p>
      * See {@link Crypt#crypt(String, String)} for details.
-     * 
+     *
      * @param keyBytes
      *            plaintext to hash
      * @param salt
@@ -510,7 +510,7 @@ public class Sha2Crypt {
      * Generates a libc crypt() compatible "$6$" hash value with random salt.
      * <p>
      * See {@link Crypt#crypt(String, String)} for details.
-     * 
+     *
      * @param keyBytes
      *            plaintext to hash
      * @return complete hash value
@@ -525,7 +525,7 @@ public class Sha2Crypt {
      * Generates a libc6 crypt() compatible "$6$" hash value.
      * <p>
      * See {@link Crypt#crypt(String, String)} for details.
-     * 
+     *
      * @param keyBytes
      *            plaintext to hash
      * @param salt

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java?rev=1552918&r1=1552917&r2=1552918&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
Sat Dec 21 16:26:59 2013
@@ -76,7 +76,7 @@ public class MatchRatingApproachEncoderT
     public final void testAccentRemoval_NINO_NoChange() {
         assertEquals("", this.getStringEncoder().removeAccents(""));
     }
-    
+
     @Test
     public final void testAccentRemoval_NullValue_ReturnNullSuccessfully() {
         assertEquals(null, this.getStringEncoder().removeAccents(null));
@@ -146,7 +146,7 @@ public class MatchRatingApproachEncoderT
     public final void testGetMinRating_7_Return4_Successfully() {
         assertEquals(4, this.getStringEncoder().getMinRating(7));
     }
-    
+
     @Test
     public final void testGetMinRating_1_Returns5_Successfully() {
         assertEquals(5, this.getStringEncoder().getMinRating(1));
@@ -156,57 +156,57 @@ public class MatchRatingApproachEncoderT
     public final void testGetMinRating_2_Returns5_Successfully() {
         assertEquals(5, this.getStringEncoder().getMinRating(2));
     }
-    
+
     @Test
     public final void testgetMinRating_5_Returns4_Successfully(){
-        assertEquals(4, this.getStringEncoder().getMinRating(5)); 
+        assertEquals(4, this.getStringEncoder().getMinRating(5));
     }
-    
+
     @Test
     public final void testgetMinRating_5_Returns4_Successfully2(){
-        assertEquals(4, this.getStringEncoder().getMinRating(5)); 
+        assertEquals(4, this.getStringEncoder().getMinRating(5));
     }
-    
+
     @Test
     public final void testgetMinRating_6_Returns4_Successfully(){
-        assertEquals(4, this.getStringEncoder().getMinRating(6)); 
+        assertEquals(4, this.getStringEncoder().getMinRating(6));
     }
-    
+
     @Test
     public final void testgetMinRating_7_Returns4_Successfully(){
-        assertEquals(4, this.getStringEncoder().getMinRating(7)); 
+        assertEquals(4, this.getStringEncoder().getMinRating(7));
     }
-    
+
     @Test
     public final void testgetMinRating_8_Returns3_Successfully(){
         assertEquals(3, this.getStringEncoder().getMinRating(8));
     }
-    
+
     @Test
     public final void testgetMinRating_10_Returns3_Successfully(){
-        assertEquals(3, this.getStringEncoder().getMinRating(10)); 
+        assertEquals(3, this.getStringEncoder().getMinRating(10));
     }
-    
+
     @Test
     public final void testgetMinRating_11_Returns_3_Successfully(){
-        assertEquals(3, this.getStringEncoder().getMinRating(11)); 
+        assertEquals(3, this.getStringEncoder().getMinRating(11));
     }
 
     @Test
     public final void testGetMinRating_13_Returns_1_Successfully() {
         assertEquals(1, this.getStringEncoder().getMinRating(13));
     }
-    
+
     @Test
     public final void testcleanName_SuccessfullyClean() {
         assertEquals("THISISATEST", this.getStringEncoder().cleanName("This-ís   a t.,es
&t"));
     }
-    
+
     @Test
     public final void testisVowel_SingleVowel_ReturnsTrue() {
         assertTrue(this.getStringEncoder().isVowel(("I")));
     }
-    
+
     @Test
     public final void testisEncodeEquals_CornerCase_SecondNameNothing_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("test", ""));
@@ -216,7 +216,7 @@ public class MatchRatingApproachEncoderT
     public final void testisEncodeEquals_CornerCase_FirstNameNothing_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("", "test"));
     }
-    
+
     @Test
     public final void testisEncodeEquals_CornerCase_SecondNameJustSpace_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("test", " "));
@@ -226,7 +226,7 @@ public class MatchRatingApproachEncoderT
     public final void testisEncodeEquals_CornerCase_FirstNameJustSpace_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals(" ", "test"));
     }
-    
+
     @Test
     public final void testisEncodeEquals_CornerCase_SecondNameNull_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("test", null));
@@ -236,7 +236,7 @@ public class MatchRatingApproachEncoderT
     public final void testisEncodeEquals_CornerCase_FirstNameNull_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals(null, "test"));
     }
-    
+
     @Test
     public final void testisEncodeEquals_CornerCase_FirstNameJust1Letter_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("t", "test"));
@@ -246,7 +246,7 @@ public class MatchRatingApproachEncoderT
     public final void testisEncodeEqualsSecondNameJust1Letter_ReturnsFalse() {
         assertFalse(this.getStringEncoder().isEncodeEquals("test", "t"));
     }
-    
+
     // ***** END REGION - TEST SUPPORT METHODS
 
     // ***** BEGIN REGION - TEST GET MRA ENCODING
@@ -285,12 +285,12 @@ public class MatchRatingApproachEncoderT
     public final void testGetEncoding_One_Letter_to_Nothing() {
         assertEquals("", this.getStringEncoder().encode("E"));
     }
-    
+
     @Test
     public final void testCompareNameNullSpace_ReturnsFalseSuccessfully() {
         assertFalse(getStringEncoder().isEncodeEquals(null, " "));
     }
-    
+
     @Test
     public final void testCompareNameSameNames_ReturnsFalseSuccessfully() {
         assertTrue(getStringEncoder().isEncodeEquals("John", "John"));



Mime
View raw message