Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-371

Rat uses collections of URLs which are reported as a problem by spotbugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.16.1
    • 0.17
    • core engine
    • None

    Description

      As noted in the Spotbugs documentation:

      Dm: The equals and hashCode methods of URL are blocking (DMI_BLOCKING_METHODS_ON_URL)

      The equals and hashCode method of URL perform domain name resolution, this can result in a big performance hit. See http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html for more information. Consider using java.net.URI instead.

       

      The goal of this ticket is to change all stored URLs to URIs.  The primary change is in the ReportConfiguration but it will touch both UIs and the core classes.

      Attachments

        Activity

          People

            claude Claude Warren
            claude Claude Warren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: