Ticket #7759: endTest.patch

File endTest.patch, 1.8 KB (added by mrwojo, 11 years ago)
  • src/org/openstreetmap/josm/data/validation/Test.java

    ### Eclipse Workspace Patch 1.0
    #P JOSM
     
    119119
    120120    /**
    121121     * Notification of the end of the test. The tester may perform additional
    122      * actions and destroy the used structures
     122     * actions and destroy the used structures.
     123     * <p>
     124     * If you override this method, don't forget to cleanup {@link #progressMonitor}
     125     * (most overrides call {@code super.endTest()} to do this).
    123126     */
    124127    public void endTest() {
    125128        progressMonitor.finishTask();
  • src/org/openstreetmap/josm/data/validation/tests/OverlappingAreas.java

     
    5252                        OVERLAPPING_AREAS, Collections.singletonList(w), overlaps));
    5353            }
    5454        }
     55
     56        super.endTest();
    5557    }
    5658
    5759}
  • src/org/openstreetmap/josm/data/validation/tests/BuildingInBuilding.java

     
    9898                        tr("Building inside building"), BUILDING_INSIDE_BUILDING, p));
    9999            }
    100100        }
     101
     102        super.endTest();
    101103    }
    102104
    103105    private boolean isInInnerWay(Way w, Way outer) {