Skip to content

Commit 9897dac

Browse files
author
Timothy O'Brien
committed
Made a functioni n RefinedSoundex package instead of private to allow us to write unit test around this particular function
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130361 13f79535-47bb-0310-9956-ffa450edef68
1 parent a0555cd commit 9897dac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Margaret Odell and Robert Russell
2626
*
2727
* @author Apache Software Foundation
28-
* @version $Id: RefinedSoundex.java,v 1.17 2004/03/17 18:30:59 ggregory Exp $
28+
* @version $Id: RefinedSoundex.java,v 1.18 2004/04/18 21:31:46 tobrien Exp $
2929
*/
3030
public class RefinedSoundex implements StringEncoder {
3131

@@ -139,7 +139,7 @@ public String encode(String pString) {
139139
* char to get mapping for
140140
* @return A character (really a numeral) to return for the given char
141141
*/
142-
private char getMappingCode(char c) {
142+
char getMappingCode(char c) {
143143
if (!Character.isLetter(c)) {
144144
return 0;
145145
} else {

0 commit comments

Comments
 (0)