Changeset 11284 in josm


Ignore:
Timestamp:
2016-11-19T11:21:03+01:00 (3 years ago)
Author:
michael2402
Message:

Fix #14005: Initialize Territories before RightAndLefthandTraffic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r11262 r11284  
    505505                KeyEvent.VK_F1, Shortcut.DIRECT));
    506506
     507        // This needs to be done before RightAndLefthandTraffic::initialize is called
     508        new InitializationTask(tr("Initializing internal boundaries data"), Territories::initialize).call();
     509
    507510        // contains several initialization tasks to be executed (in parallel) by a ExecutorService
    508511        List<Callable<Void>> tasks = new ArrayList<>();
     
    518521                }
    519522            }));
    520 
    521         tasks.add(new InitializationTask(tr("Initializing internal boundaries data"), Territories::initialize));
    522523
    523524        tasks.add(new InitializationTask(tr("Initializing internal traffic data"), RightAndLefthandTraffic::initialize));
Note: See TracChangeset for help on using the changeset viewer.