[ https://issues.apache.org/jira/browse/RAT-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863619#comment-17863619 ]
ASF subversion and git services commented on RAT-371: ----------------------------------------------------- Commit 03f10972134788fc6fb054708817f80375f30a3c in creadur-rat's branch refs/heads/master from Philipp Ottlinger [ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=03f10972 ] RAT-371: Migrate to URI instead URL when parsing lists or resource locations > 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)