Changeset 2673 in josm for trunk


Ignore:
Timestamp:
2009-12-23T16:18:45+01:00 (12 years ago)
Author:
stoecker
Message:

fixed proxy test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java

    r2641 r2673  
    9898    public void initFromPreferences() {
    9999        String value = Main.pref.get(ProxyPreferences.PROXY_POLICY);
    100         if (value == null) {
     100        if (value.length() == 0) {
    101101            System.err.println(tr("Warning: no preference ''{0}'' found. Will use no proxy.", ProxyPreferences.PROXY_POLICY));
    102102            proxyPolicy = ProxyPolicy.NO_PROXY;
Note: See TracChangeset for help on using the changeset viewer.