Ignore:
Timestamp:
2012-04-06T15:56:23+02:00 (7 years ago)
Author:
Don-vip
Message:

history/osmChange handling: fix an issue when downloading osmChange that could lead to the creation of empty ways (0 node) + fix spelling of a getter

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialog.java

    r4297 r5171  
    123123    /* ---------------------------------------------------------------------------------- */
    124124    public void historyUpdated(HistoryDataSet source, PrimitiveId primitiveId) {
    125         if (primitiveId == null || primitiveId.equals(browser.getHistory().getPrimitmiveId())) {
    126             browser.populate(source.getHistory(browser.getHistory().getPrimitmiveId()));
     125        if (primitiveId == null || primitiveId.equals(browser.getHistory().getPrimitiveId())) {
     126            browser.populate(source.getHistory(browser.getHistory().getPrimitiveId()));
    127127        }
    128128    }
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java

    r4310 r5171  
    120120    public HistoryLoadTask add(History history) {
    121121        CheckParameterUtil.ensureParameterNotNull(history, "history");
    122         toLoad.add(history.getPrimitmiveId());
     122        toLoad.add(history.getPrimitiveId());
    123123        return this;
    124124    }
Note: See TracChangeset for help on using the changeset viewer.