commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r582448 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java
Date Sat, 06 Oct 2007 04:15:01 GMT
Author: bayard
Date: Fri Oct  5 21:15:01 2007
New Revision: 582448

URL: http://svn.apache.org/viewvc?rev=582448&view=rev
Log:
Made the soundexMapping variable final as it's only ever set once

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java?rev=582448&r1=582447&r2=582448&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/RefinedSoundex.java
Fri Oct  5 21:15:01 2007
@@ -48,7 +48,7 @@
 	 * array holds the values to which each letter is mapped. This
 	 * implementation contains a default map for US_ENGLISH
 	 */
-    private char[] soundexMapping;
+    private final char[] soundexMapping;
 
     /**
 	 * Creates an instance of the RefinedSoundex object using the default US



Mime
View raw message