commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BCEL-176) util.ClassPath.getClassFile(String name, String suffix) - unused loop variable
Date Fri, 20 Feb 2015 08:00:31 GMT

     [ https://issues.apache.org/jira/browse/BCEL-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg resolved BCEL-176.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 6.0

> util.ClassPath.getClassFile(String name, String suffix) - unused loop variable
> ------------------------------------------------------------------------------
>
>                 Key: BCEL-176
>                 URL: https://issues.apache.org/jira/browse/BCEL-176
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Trivial
>             Fix For: 6.0
>
>
> The method util.ClassPath.getClassFile(String name, String suffix) uses a for loop, but
does not use the variable in the loop.
> {code}
> for (PathEntry path : paths) {
> ...
> }
> {code}
> It looks like the loop is redundant and should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message