uDIG
  1. uDIG
  2. UDIG-1594

Performance issue with GeometryProperty

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: UDIG 1.1.1, UDIG 1.2.M2, UDIG 1.2.M3, UDIG 1.2.M4, UDIG 1.2.M5, UDIG 1.2.M6
    • Fix Version/s: UDIG 1.2.1
    • Component/s: application, framework
    • Labels:
      None
    • Patch attached:
      Yes

      Description

      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.')

        Activity

        Hide
        Andrea Antonello added a comment -
        Applied the patch
        Show
        Andrea Antonello added a comment - Applied the patch
        Hide
        Andrea Antonello added a comment -
        tested by user, verified
        Show
        Andrea Antonello added a comment - tested by user, verified

          People

          • Assignee:
            Unassigned
            Reporter:
            Frank Gasdorf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: