[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3358) Activate PMD rule SimplifyConditional: No need to check for null before an instanceof; the instanceof keyword returns false when given a null argument.

Denis Golovin (JIRA) jira-events at lists.jboss.org
Thu Dec 4 14:47:36 EST 2008


Activate PMD rule SimplifyConditional: No need to check for null before an instanceof; the instanceof keyword returns false when given a null argument. 
--------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-3358
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3358
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
    Affects Versions: 3.0.0.cr1
            Reporter: Denis Golovin
            Assignee: Denis Golovin
             Fix For: 3.1.0


Even simple search "!=.*null.*instanceof" through workspace shows around 200 matches

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list