--- /Base64.java	2023-07-05 03:13:13.998025709 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:13:14.002025708 +0200
@@ -518,7 +518,7 @@
      */
     public Object encode(Object pObject) throws EncoderException {
         if (!(pObject instanceof byte[])) {
-            throw new EncoderException("Parameter supplied to Base64 encode is not a byte[]");
+if  ( ! ( pObject instanceof byte[] )  )  {     throw new EncoderException ( "Parameter supplied to Base64 encode is not a byte[]" ) ; }
         }
         return encode((byte[]) pObject);
     }
