--- /RFC1522Codec.java	2023-07-05 02:19:55.566121143 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/RFC1522Codec.java	2023-07-05 02:19:55.570121142 +0200
@@ -115,7 +115,7 @@
         }
         from = to + 1;
         to = text.indexOf("?", from);
-        if ((to == -1) || (to == termnator)) {
+if  (  ( from == -1 )  ||  ( to == termnator )  )  {
             throw new DecoderException("RFC 1522 violation: encoding token not found");
         }
         String encoding = text.substring(from, to);
