diff --git a/src/org/parosproxy/paros/core/scanner/VariantUserDefined.java b/src/org/parosproxy/paros/core/scanner/VariantUserDefined.java
index <HASH>..<HASH> 100644
--- a/src/org/parosproxy/paros/core/scanner/VariantUserDefined.java
+++ b/src/org/parosproxy/paros/core/scanner/VariantUserDefined.java
@@ -71,7 +71,7 @@ public class VariantUserDefined implements Variant {
 	    		if (isInHeader(this.injectionPoints[i]) || isInBody(this.injectionPoints[i]) ) {

 	    			list.add(new NameValuePair(NameValuePair.TYPE_UNDEFINED, "", "", i));

 	    		} else {

-	    			logger.equals("Invalid injection point: " + this.injectionPoints[i]);

+	    			logger.warn("Invalid injection point: " + this.injectionPoints[i]);

 	    		}

 	    	}

     	}
Address FindBugs Item:
* logger.equals was used in assignment instead of comparison