Ignore:
Timestamp:
2016-05-16T12:50:39+02:00 (4 years ago)
Author:
Don-vip
Message:

see #12844 - display which OSM API is used in status report

File:
1 edited

Legend:

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

    r10216 r10226  
    3333import org.openstreetmap.josm.gui.preferences.map.TaggingPresetPreference;
    3434import org.openstreetmap.josm.gui.preferences.validator.ValidatorTagCheckerRulesPreference;
     35import org.openstreetmap.josm.io.OsmApi;
    3536import org.openstreetmap.josm.plugins.PluginHandler;
    3637import org.openstreetmap.josm.tools.PlatformHookUnixoid;
     
    161162        appendCollection(text, "Last errors/warnings", Main.getLastErrorAndWarnings());
    162163
     164        String osmApi = OsmApi.getOsmApi().getServerUrl();
     165        if (!OsmApi.DEFAULT_API_URL.equals(osmApi.trim())) {
     166            text.append("OSM API: ").append(osmApi).append("\n\n");
     167        }
     168
    163169        return text.toString();
    164170    }
Note: See TracChangeset for help on using the changeset viewer.