tobrien 2003/02/08 14:53:05
Modified: codec/src/java/org/apache/commons/codec/language
DoubleMetaphone.java
Log:
GUMP can't recognize the difference between N and N tilde, I'm removing that case
statement temporarily to fix codec for projects which rely on it.
Revision Changes Path
1.4 +6 -3
jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java
Index: DoubleMetaphone.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DoubleMetaphone.java 4 Feb 2003 04:43:58 -0000 1.3
+++ DoubleMetaphone.java 8 Feb 2003 22:53:05 -0000 1.4
@@ -793,10 +793,13 @@
addCode('N', 'N');
break;
- case '�':
+ /** YIKES, this breaks the GUMP build. Whatever compiler ASF
+ is using for GUMP can't recognize the difference between
+ N and N tilde - I'm taking this out for now - TIM **/
+ /** case '�':
current++;
add('N');
- break;
+ break; **/
case 'P':
if (input.charAt(current + 1) == 'H') {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]