mirror of
https://github.com/crawler-commons/crawler-commons
synced 2024-05-09 23:56:04 +02:00
0493878f80
* Sitemaps: avoid calling java.net.URL::equals in equals method of sitemaps and sitemap extensions (fixes #322) - compare URL strings to avoid that java.net.URL::equals triggers unwanted and potentially slow DNS lookups to resolve the host part. Replace: - Objects::equals in equals methods of sitemap extensions - URL::equals and URL::hashCode in SiteMapIndex and SiteMapURL - enable check for URL::equals and URL::hashCode in Forbidden API Checker * Sitemaps: avoid calling java.net.URL::equals in equals method of sitemaps and sitemap extensions - avoid NPEs in equals and hashCode methods * Sitemaps: avoid calling java.net.URL::equals in equals method of sitemaps and sitemap extensions - avoid NPE, return null as before if null is passed to SitemapIndex::getSitemap |
||
---|---|---|
.. | ||
main | ||
test |