[
https://issues.apache.org/jira/browse/RAT-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Ottlinger updated RAT-371:
----------------------------------
Fix Version/s: 0.17
> Rat uses collections of URLs which are reported as a problem by spotbugs
> ------------------------------------------------------------------------
>
> Key: RAT-371
> URL: https://issues.apache.org/jira/browse/RAT-371
> Project: Apache Rat
> Issue Type: Bug
> Components: core engine
> Affects Versions: 0.16.1
> Reporter: Claude Warren
> Assignee: Claude Warren
> Priority: Major
> Fix For: 0.17
>
>
> As noted in the Spotbugs documentation:
> {quote}
> h3. Dm: The equals and hashCode methods of URL are blocking
> (DMI_BLOCKING_METHODS_ON_URL)[|https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#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.
> {quote}
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)