[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] Created: (UDIG-1594) Performance issue with GeometryProperty
|
Performance issue with GeometryProperty
---------------------------------------
Key: UDIG-1594
URL: http://jira.codehaus.org/browse/UDIG-1594
Project: uDIG
Issue Type: Improvement
Components: application, framework
Affects Versions: UDIG 1.2.M6, UDIG 1.2.M5, UDIG 1.2.M4, UDIG 1.2.M3, UDIG 1.2.M2, UDIG 1.1.1
Reporter: Frank Gasdorf
Attachments: GeometryProperty-URL.patch
Add layers from a service that has an identifier like (http://myproduct.mycompany.com) may result into blocking operations in GeometryProperty because of the URL.equals implementation. It properly depends on infrastructure and network settings (proxy).
Solution: collect Layer-ID's as String in a set and compare these (see attached patch).
See also javadoc of "equals" method in java.net.URL class ('Since hosts comparison requires name resolution, this operation is a blocking operation.')
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira