This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git


The following commit(s) were added to refs/heads/master by this push:
     new 97b7e5d1 Style police
97b7e5d1 is described below

commit 97b7e5d170f494ecbc5861f2f0df8925db3831b2
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 30 15:16:12 2024 +0100

    Style police
---
 src/test/java/org/apache/commons/codec/digest/CryptTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/codec/digest/CryptTest.java 
b/src/test/java/org/apache/commons/codec/digest/CryptTest.java
index 68873ace..8ff165cf 100644
--- a/src/test/java/org/apache/commons/codec/digest/CryptTest.java
+++ b/src/test/java/org/apache/commons/codec/digest/CryptTest.java
@@ -68,12 +68,12 @@ public class CryptTest {
     }
 
     // Helper method
-    private void startsWith(String string, String prefix){
+    private void startsWith(String string, String prefix) {
         assertTrue(string.startsWith(prefix), string + " should start with " + 
prefix);
     }
     @Test
     public void testType() {
-        startsWith(Crypt.crypt("secret", "xxxx"),"xx");
+        startsWith(Crypt.crypt("secret", "xxxx"), "xx");
         startsWith(Crypt.crypt("secret", "$1$xxxx"), "$1$xxxx$");
         startsWith(Crypt.crypt("secret", "$5$xxxx"), "$5$xxxx$");
         startsWith(Crypt.crypt("secret", "$6$xxxx"), "$6$xxxx$");

Reply via email to