Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-176

util.ClassPath.getClassFile(String name, String suffix) - unused loop variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      The method util.ClassPath.getClassFile(String name, String suffix) uses a for loop, but does not use the variable in the loop.

      for (PathEntry path : paths) {
      ...
      }
      

      It looks like the loop is redundant and should be removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: