Skip to content

Commit fb5e3f4

Browse files
committed
Made the soundexMapping variable final as it's only ever set once
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@582448 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9977688 commit fb5e3f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class RefinedSoundex implements StringEncoder {
4848
* array holds the values to which each letter is mapped. This
4949
* implementation contains a default map for US_ENGLISH
5050
*/
51-
private char[] soundexMapping;
51+
private final char[] soundexMapping;
5252

5353
/**
5454
* Creates an instance of the RefinedSoundex object using the default US

0 commit comments

Comments
 (0)