--- /RefinedSoundex.java	2023-07-05 02:32:34.330157909 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/RefinedSoundex.java	2023-07-05 02:32:34.334157908 +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);
