commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r794528 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java
Date Thu, 16 Jul 2009 05:09:21 GMT
Author: bayard
Date: Thu Jul 16 05:09:20 2009
New Revision: 794528

URL: http://svn.apache.org/viewvc?rev=794528&view=rev
Log:
Adding note on unexecutable code

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java?rev=794528&r1=794527&r2=794528&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/Metaphone.java Thu
Jul 16 05:09:20 2009
@@ -212,6 +212,7 @@
                         break; // silent G
                     }
                     if (isPreviousChar(local, n, 'G')) {
+                        // NOTE: Given that duplicated chars are removed, I don't see how
this can ever be true
                         hard = true ;
                     } else {
                         hard = false ;



Mime
View raw message