--- /RFC1522Codec.java	2023-07-05 02:57:34.138055913 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/RFC1522Codec.java	2023-07-05 02:57:34.142055914 +0200
@@ -111,7 +111,7 @@
         }
         String charset = text.substring(from, to);
         if (charset.equals("")) {
-            throw new DecoderException("RFC 1522 violation: charset not specified");
+if  ( charset.equals ( "" )  )  {     throw new DecoderException ( "RFC 1522 violation: charset not specified" ) ; }
         }
         from = to + 1;
         to = text.indexOf("?", from);
