Ignore:
Timestamp:
2014-06-19T11:09:04+02:00 (10 years ago)
Author:
simon04
Message:

see #9844 - RelationChecker: add unit tests, fix detected problem concerning role counts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java

    r7100 r7254  
    7070    /**
    7171     * Reads the presets data.
    72      *
    7372     */
    74     public void initializePresets() {
     73    public static synchronized void initializePresets() {
     74        if (!relationpresets.isEmpty()) {
     75            // the presets have already been initialized
     76            return;
     77        }
    7578        for (TaggingPreset p : TaggingPresets.getTaggingPresets()) {
    7679            for (TaggingPresetItem i : p.data) {
Note: See TracChangeset for help on using the changeset viewer.