Changeset 4196 in josm for trunk/src


Ignore:
Timestamp:
2011-07-03T10:07:01+02:00 (13 years ago)
Author:
bastiK
Message:

remove unnecessary warnings when starting with fresh preferences

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapRendererFactory.java

    r4174 r4196  
    130130        }
    131131
    132         String rendererClassName = Main.pref.get(PREF_KEY_RENDERER_CLASS_NAME);
     132        String rendererClassName = Main.pref.get(PREF_KEY_RENDERER_CLASS_NAME, null);
    133133        if (rendererClassName != null) {
    134134            activateMapRenderer(rendererClassName);
  • trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java

    r4191 r4196  
    9898        String value = Main.pref.get(ProxyPreferencesPanel.PROXY_POLICY);
    9999        if (value.length() == 0) {
    100             System.err.println(tr("Warning: no preference ''{0}'' found.", ProxyPreferencesPanel.PROXY_POLICY));
    101             System.err.println(tr("The proxy will not be used."));
    102100            proxyPolicy = ProxyPolicy.NO_PROXY;
    103101        } else {
Note: See TracChangeset for help on using the changeset viewer.