Skip to content

Commit f8c987f

Browse files
committed
Fix PMD violation: Avoid unused method parameters such as 'value'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1072742 13f79535-47bb-0310-9956-ffa450edef68
1 parent eb237a9 commit f8c987f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/java/org/apache/commons/codec/language/DoubleMetaphone.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public String doubleMetaphone(String value, boolean alternate) {
102102
case 'O':
103103
case 'U':
104104
case 'Y':
105-
index = handleAEIOUY(value, result, index);
105+
index = handleAEIOUY(result, index);
106106
break;
107107
case 'B':
108108
result.append('P');
@@ -267,7 +267,7 @@ public void setMaxCodeLen(int maxCodeLen) {
267267
/**
268268
* Handles 'A', 'E', 'I', 'O', 'U', and 'Y' cases
269269
*/
270-
private int handleAEIOUY(String value, DoubleMetaphoneResult result, int
270+
private int handleAEIOUY(DoubleMetaphoneResult result, int
271271
index) {
272272
if (index == 0) {
273273
result.append('A');

0 commit comments

Comments
 (0)