Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVGUniverse: 'loadedImages' may contain URL objects #64

Open
simon04 opened this issue Aug 28, 2020 · 0 comments
Open

SVGUniverse: 'loadedImages' may contain URL objects #64

simon04 opened this issue Aug 28, 2020 · 0 comments

Comments

@simon04
Copy link
Contributor

simon04 commented Aug 28, 2020

IntelliJ warning:

Reports objects which are a subtype of java.util.Set or java.util.Map and which may contain java.net.URL objects. Adding java.net.URL objects to such collections can cause performance problems because of calls to the equals() and hashCode() methods of java.net.URL. java.net.URL's equals() and hashCode() method use a DNS lookup, which depending on the availability of the network and the speed of the DNS server can cause significant delays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant