--- /RefinedSoundex.java	2023-07-05 03:07:03.730036540 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/RefinedSoundex.java	2023-07-05 03:07:03.734036539 +0200
@@ -111,7 +111,7 @@
 	 *                  if the parameter supplied is not of type java.lang.String
 	 */
     public Object encode(Object pObject) throws EncoderException {
-        if (!(pObject instanceof java.lang.String)) {
+if  (  ( pObject instanceof java.lang.String )  )  {
             throw new EncoderException("Parameter supplied to RefinedSoundex encode is not of type java.lang.String");
         }
         return soundex((String) pObject);
