Changeset 35485 in osm for applications


Ignore:
Timestamp:
2020-06-07T18:45:53+02:00 (5 years ago)
Author:
simon04
Message:

see #josm19357 - MapPaintStylesUpdateListener: fix typo

Location:
applications/editors/josm/plugins/eventbus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/eventbus/build.xml

    r35213 r35485  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="15496"/>
     7    <property name="plugin.main.version" value="16563"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/eventbus/src/org/openstreetmap/josm/plugins/eventbus/EventBusPlugin.java

    r35213 r35485  
    6565import org.openstreetmap.josm.gui.layer.imagery.TileSourceDisplaySettings.DisplaySettingsChangeListener;
    6666import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
    67 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.MapPaintSylesUpdateListener;
     67import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.MapPaintStylesUpdateListener;
    6868import org.openstreetmap.josm.gui.preferences.imagery.AddImageryPanel.ContentValidationListener;
    6969import org.openstreetmap.josm.gui.preferences.server.ProxyPreference;
     
    332332    private final TaggingPresetListener taggingPresetListener = () -> post(new TaggingPresetModifiedEvent(this));
    333333
    334     private final MapPaintSylesUpdateListener mapPaintSylesUpdateListener = new MapPaintSylesUpdateListener() {
     334    private final MapPaintStylesUpdateListener mapPaintStylesUpdateListener = new MapPaintStylesUpdateListener() {
    335335        @Override
    336336        public void mapPaintStylesUpdated() {
     
    391391        HistoryDataSet.getInstance().addHistoryDataSetListener(historyDataSetListener);
    392392        SystemOfMeasurement.addSoMChangeListener(soMChangeListener);
    393         MapPaintStyles.addMapPaintSylesUpdateListener(mapPaintSylesUpdateListener);
     393        MapPaintStyles.addMapPaintStylesUpdateListener(mapPaintStylesUpdateListener);
    394394        ProxyPreference.addProxyPreferenceListener(proxyPreferenceListener);
    395395        MapFrame.addMapModeChangeListener(mapModeChangeListener);
     
    413413        HistoryDataSet.getInstance().removeHistoryDataSetListener(historyDataSetListener);
    414414        SystemOfMeasurement.removeSoMChangeListener(soMChangeListener);
    415         MapPaintStyles.removeMapPaintSylesUpdateListener(mapPaintSylesUpdateListener);
     415        MapPaintStyles.removeMapPaintStylesUpdateListener(mapPaintStylesUpdateListener);
    416416        ProxyPreference.removeProxyPreferenceListener(proxyPreferenceListener);
    417417        MapFrame.removeMapModeChangeListener(mapModeChangeListener);
Note: See TracChangeset for help on using the changeset viewer.