--- /BinaryCodec.java	2023-07-05 03:13:27.246025331 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:27.250025330 +0200
@@ -119,7 +119,7 @@
             return fromAscii((char[]) ascii);
         }
         if (ascii instanceof String) {
-            return fromAscii(((String) ascii).toCharArray());
+if  ( ascii instanceof String )  {     return fromAscii (  (  ( String )   ( ascii )  ) .toCharArray (  )  ) ; }
         }
         throw new DecoderException("argument not a byte array");
     }
