commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobr...@apache.org
Subject cvs commit: jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/language DoubleMetaphone.java
Date Sat, 08 Feb 2003 22:53:06 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message