Skip to content

Commit f0ff6ed

Browse files
author
Timothy O'Brien
committed
Removed characters which were breaking GUMP build. Need to replace character literals with Unicode codes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130155 13f79535-47bb-0310-9956-ffa450edef68
1 parent 732b7c5 commit f0ff6ed

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java,v 1.1 2003/06/11 03:23:26 tobrien Exp $
3-
* $Revision: 1.1 $
4-
* $Date: 2003/06/11 03:23:26 $
2+
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java,v 1.2 2003/06/18 17:46:38 tobrien Exp $
3+
* $Revision: 1.2 $
4+
* $Date: 2003/06/18 17:46:38 $
55
*
66
* ====================================================================
77
*
@@ -129,10 +129,12 @@ public String doubleMetaphone(String value, boolean alternate) {
129129
result.append('P');
130130
index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1;
131131
break;
132-
case 'Ç':
132+
// FIXME: Removed support for this character until
133+
// Unicode code is found.
134+
/* case 'Ç':
133135
result.append('S');
134136
index++;
135-
break;
137+
break; */
136138
case 'C':
137139
index = handleC(value, result, index);
138140
break;
@@ -167,10 +169,13 @@ public String doubleMetaphone(String value, boolean alternate) {
167169
result.append('N');
168170
index = charAt(value, index + 1) == 'N' ? index + 2 : index + 1;
169171
break;
172+
// FIXME: Removed support for this character until we
173+
// find the Unicode code
174+
/*
170175
case 'Ñ':
171176
result.append('N');
172177
index++;
173-
break;
178+
break; */
174179
case 'P':
175180
index = handleP(value, result, index);
176181
break;

0 commit comments

Comments
 (0)