Skip to content

Commit 9f1d2c4

Browse files
committed
Remove redundant keywords
1 parent a54c0e6 commit 9f1d2c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ public class DoubleMetaphone2Test extends AbstractStringEncoderTest<DoubleMetaph
12631263
private void checkDoubleMetaphone(final int typeIndex, final boolean alternate) {
12641264
for (int i = 0; i < TEST_DATA.length; i++) {
12651265
final String value = TEST_DATA[i][0];
1266-
assertEquals(TEST_DATA[i][typeIndex], this.getStringEncoder().doubleMetaphone(value, alternate), "Test [" + i + "]=" + value);
1266+
assertEquals(TEST_DATA[i][typeIndex], getStringEncoder().doubleMetaphone(value, alternate), "Test [" + i + "]=" + value);
12671267
}
12681268
}
12691269

@@ -1277,14 +1277,14 @@ protected DoubleMetaphone createStringEncoder() {
12771277
*/
12781278
@Test
12791279
public void testDoubleMetaphoneAlternate() {
1280-
this.checkDoubleMetaphone(ALTERNATE_INDEX, true);
1280+
checkDoubleMetaphone(ALTERNATE_INDEX, true);
12811281
}
12821282

12831283
/**
12841284
* Test primary encoding.
12851285
*/
12861286
@Test
12871287
public void testDoubleMetaphonePrimary() {
1288-
this.checkDoubleMetaphone(PRIMARY_INDEX, false);
1288+
checkDoubleMetaphone(PRIMARY_INDEX, false);
12891289
}
12901290
}

0 commit comments

Comments
 (0)