--- /Metaphone.java	2023-07-05 02:29:09.006152888 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 02:29:09.010152888 +0200
@@ -85,7 +85,7 @@
         }
         // single character is itself
         if (txt.length() == 1) {
-            return txt.toUpperCase(java.util.Locale.ENGLISH) ;
+if  (  ( txt.length (  )  )  == 1 )  {     return txt.toUpperCase ( ENGLISH ) ; }
         }
       
         char[] inwd = txt.toUpperCase(java.util.Locale.ENGLISH).toCharArray() ;
