[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3357) Activate PMD rule UseCollectionIsEmpty: The isEmpty() method on java.util.Collection is provided to see if a collection has any elements. Comparing the value of size() to 0 merely duplicates existing behavior.

Denis Golovin (JIRA) jira-events at lists.jboss.org
Thu Jan 15 03:07:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBIDE-3357:
---------------------------------

    Fix Version/s: 3.0.0.GA
                       (was: 3.0.0.CR2)


> Activate PMD rule UseCollectionIsEmpty: The isEmpty() method on java.util.Collection is provided to see if a collection has any elements. Comparing the value of size() to 0 merely duplicates existing behavior. 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3357
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3357
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0.cr1
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>            Priority: Trivial
>             Fix For: 3.0.0.GA
>
>


-- 
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