[jbosstools-issues] [JBoss JIRA] Resolved: (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
Tue Feb 3 13:33:44 EST 2009


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

Denis Golovin resolved JBIDE-3357.
----------------------------------

    Resolution: Done


> 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