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

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

commit 9f1d2c4a73f6d3b7c5357121ba8349b04fdc4e20
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 9 08:57:32 2024 -0400

    Remove redundant keywords
---
 .../org/apache/commons/codec/language/DoubleMetaphone2Test.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java 
b/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java
index b64fdbe9..29bcf7ed 100644
--- a/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java
+++ b/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java
@@ -1263,7 +1263,7 @@ public class DoubleMetaphone2Test extends 
AbstractStringEncoderTest<DoubleMetaph
     private void checkDoubleMetaphone(final int typeIndex, final boolean 
alternate) {
         for (int i = 0; i < TEST_DATA.length; i++) {
             final String value = TEST_DATA[i][0];
-            assertEquals(TEST_DATA[i][typeIndex], 
this.getStringEncoder().doubleMetaphone(value, alternate), "Test [" + i + "]=" 
+ value);
+            assertEquals(TEST_DATA[i][typeIndex], 
getStringEncoder().doubleMetaphone(value, alternate), "Test [" + i + "]=" + 
value);
         }
     }
 
@@ -1277,7 +1277,7 @@ public class DoubleMetaphone2Test extends 
AbstractStringEncoderTest<DoubleMetaph
      */
     @Test
     public void testDoubleMetaphoneAlternate() {
-        this.checkDoubleMetaphone(ALTERNATE_INDEX, true);
+        checkDoubleMetaphone(ALTERNATE_INDEX, true);
     }
 
     /**
@@ -1285,6 +1285,6 @@ public class DoubleMetaphone2Test extends 
AbstractStringEncoderTest<DoubleMetaph
      */
     @Test
     public void testDoubleMetaphonePrimary() {
-        this.checkDoubleMetaphone(PRIMARY_INDEX, false);
+        checkDoubleMetaphone(PRIMARY_INDEX, false);
     }
 }

Reply via email to