You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2015/02/20 08:51:11 UTC
[jira] [Commented] (BCEL-176) util.ClassPath.getClassFile(String
name, String suffix) - unused loop variable
[ https://issues.apache.org/jira/browse/BCEL-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328660#comment-14328660 ]
Emmanuel Bourg commented on BCEL-176:
-------------------------------------
This is a left over of http://svn.apache.org/r897695, it can be safely removed.
> 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
>
> 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)