Ignore:
Timestamp:
2017-02-26T00:59:32+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #3346 - improve drastically the performance of fixing duplicate nodes by:

  • caching data sources area computation
  • moving layer invalidation from UndoRedoHandler.addNoRedraw to UndoRedoHandler.add
  • avoiding any EDT call when building tag conflict dialog if it's not meant to be displayed
File:
1 edited

Legend:

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

    r10619 r11627  
    174174
    175175    public void writeDataSources(DataSet ds) {
    176         for (DataSource s : ds.dataSources) {
     176        for (DataSource s : ds.getDataSources()) {
    177177            out.println("  <bounds minlat='"
    178178                    + s.bounds.getMin().latToString(CoordinateFormat.DECIMAL_DEGREES)
Note: See TracChangeset for help on using the changeset viewer.