Skip to content

Commit d6a6bc7

Browse files
committed
Remove redundant keywords
1 parent 0dfbc98 commit d6a6bc7

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected Caverphone2 createStringEncoder() {
4242
* @throws EncoderException for some failure scenarios */
4343
@Test
4444
public void testCaverphoneRevisitedCommonCodeAT11111111() throws EncoderException {
45-
this.checkEncodingVariations("AT11111111", new String[]{
45+
checkEncodingVariations("AT11111111", new String[]{
4646
"add",
4747
"aid",
4848
"at",
@@ -67,7 +67,7 @@ public void testCaverphoneRevisitedCommonCodeAT11111111() throws EncoderExceptio
6767
@Test
6868
public void testCaverphoneRevisitedExamples() throws EncoderException {
6969
final String[][] data = {{"Stevenson", "STFNSN1111"}, {"Peter", "PTA1111111"}};
70-
this.checkEncodings(data);
70+
checkEncodings(data);
7171
}
7272

7373
/**
@@ -76,7 +76,7 @@ public void testCaverphoneRevisitedExamples() throws EncoderException {
7676
* @throws EncoderException for some failure scenarios */
7777
@Test
7878
public void testCaverphoneRevisitedRandomNameKLN1111111() throws EncoderException {
79-
this.checkEncodingVariations("KLN1111111", new String[]{
79+
checkEncodingVariations("KLN1111111", new String[]{
8080
"Cailean",
8181
"Calan",
8282
"Calen",
@@ -167,7 +167,7 @@ public void testCaverphoneRevisitedRandomNameKLN1111111() throws EncoderExceptio
167167
* @throws EncoderException for some failure scenarios */
168168
@Test
169169
public void testCaverphoneRevisitedRandomNameTN11111111() throws EncoderException {
170-
this.checkEncodingVariations("TN11111111", new String[]{
170+
checkEncodingVariations("TN11111111", new String[]{
171171
"Dan",
172172
"Dane",
173173
"Dann",
@@ -245,7 +245,7 @@ public void testCaverphoneRevisitedRandomNameTN11111111() throws EncoderExceptio
245245
* @throws EncoderException for some failure scenarios */
246246
@Test
247247
public void testCaverphoneRevisitedRandomNameTTA1111111() throws EncoderException {
248-
this.checkEncodingVariations("TTA1111111", new String[]{
248+
checkEncodingVariations("TTA1111111", new String[]{
249249
"Darda",
250250
"Datha",
251251
"Dedie",
@@ -322,15 +322,15 @@ public void testCaverphoneRevisitedRandomNameTTA1111111() throws EncoderExceptio
322322
* @throws EncoderException for some failure scenarios */
323323
@Test
324324
public void testCaverphoneRevisitedRandomWords() throws EncoderException {
325-
this.checkEncodingVariations("RTA1111111", new String[]{"rather", "ready", "writer"});
326-
this.checkEncoding("SSA1111111", "social");
327-
this.checkEncodingVariations("APA1111111", new String[]{"able", "appear"});
325+
checkEncodingVariations("RTA1111111", new String[]{"rather", "ready", "writer"});
326+
checkEncoding("SSA1111111", "social");
327+
checkEncodingVariations("APA1111111", new String[]{"able", "appear"});
328328
}
329329

330330
@Test
331331
public void testEndMb() throws EncoderException {
332332
final String[][] data = {{"mb", "M111111111"}, {"mbmb", "MPM1111111"}};
333-
this.checkEncodings(data);
333+
checkEncodings(data);
334334
}
335335

336336
// Caverphone Revisited
@@ -351,7 +351,7 @@ public void testSpecificationExamples() throws EncoderException {
351351
{"Tedder", "TTA1111111"},
352352
{"Karleen", "KLN1111111"},
353353
{"Dyun", "TN11111111"}};
354-
this.checkEncodings(data);
354+
checkEncodings(data);
355355
}
356356

357357
}

0 commit comments

Comments
 (0)