tobrien     2003/06/18 10:46:38

  Modified:    codec/src/java/org/apache/commons/codec/language
                        DoubleMetaphone.java
  Log:
  Removed characters which were breaking GUMP build.  Need to replace character 
literals with Unicode codes
  
  Revision  Changes    Path
  1.2       +10 -5     
jakarta-commons/codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java
  
  Index: DoubleMetaphone.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/language/DoubleMetaphone.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DoubleMetaphone.java      11 Jun 2003 03:23:26 -0000      1.1
  +++ DoubleMetaphone.java      18 Jun 2003 17:46:38 -0000      1.2
  @@ -129,10 +129,12 @@
                   result.append('P');
                   index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1;
                   break;
  -            case 'Ç':
  +                // FIXME: Removed support for this character until 
  +                // Unicode code is found.
  +                /*            case 'Ç':
                   result.append('S');
                   index++;
  -                break;
  +                break; */
               case 'C':
                   index = handleC(value, result, index);
                   break;
  @@ -167,10 +169,13 @@
                   result.append('N');
                   index = charAt(value, index + 1) == 'N' ? index + 2 : index + 1;
                   break;
  +                // FIXME: Removed support for this character until we
  +                // find the Unicode code
  +                /*
               case 'Ñ':
                   result.append('N');
                   index++;
  -                break;
  +                break; */
               case 'P':
                   index = handleP(value, result, index);
                   break;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to