tobrien 2004/04/18 14:31:46
Modified: codec/src/java/org/apache/commons/codec/language
RefinedSoundex.java
Log:
Made a functioni n RefinedSoundex package instead of private to allow us to write
unit test around this particular function
Revision Changes Path
1.18 +2 -2
jakarta-commons/codec/src/java/org/apache/commons/codec/language/RefinedSoundex.java
Index: RefinedSoundex.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/language/RefinedSoundex.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- RefinedSoundex.java 17 Mar 2004 18:30:59 -0000 1.17
+++ RefinedSoundex.java 18 Apr 2004 21:31:46 -0000 1.18
@@ -139,7 +139,7 @@
* char to get mapping for
* @return A character (really a numeral) to return for the given char
*/
- private char getMappingCode(char c) {
+ char getMappingCode(char c) {
if (!Character.isLetter(c)) {
return 0;
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]