--- /RefinedSoundex.java	2023-07-05 03:07:08.446036390 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/RefinedSoundex.java	2023-07-05 03:07:08.446036390 +0200
@@ -171,7 +171,7 @@
             current = getMappingCode(str.charAt(i));
             if (current == last) {
                 continue;
-            } else if (current != 0) {
+} else if  ( last != 0 )  {
                 sBuf.append(current);
             }
 
