Changeset 19578 in josm for trunk/src/org


Ignore:
Timestamp:
2026-06-04T06:16:56+02:00 (29 hours ago)
Author:
GerdP
Message:

fix #24747: If loading terse .osm file with modifications, JOSM does not show changes in history but uploads them to OSM

  • remove overcausious test
File:
1 edited

Legend:

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

    r17903 r19578  
    4646import org.openstreetmap.josm.tools.CheckParameterUtil;
    4747import org.openstreetmap.josm.tools.ColorScale;
    48 import org.openstreetmap.josm.tools.Logging;
    4948
    5049/**
     
    143142            return false;
    144143
    145         //try creating a history primitive. if that fails, the primitive cannot be used.
    146         try {
    147             HistoryOsmPrimitive.forOsmPrimitive(primitive);
    148         } catch (IllegalArgumentException ign) {
    149             Logging.trace(ign);
    150             return false;
    151         }
    152 
    153144        if (history == null)
    154145            return false;
Note: See TracChangeset for help on using the changeset viewer.