Ignore:
Timestamp:
2016-09-02T22:51:06+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13513 - Registers a protocol handler for data: URLs allowing to display base64-inlined images in HTML help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r10873 r10931  
    13161316        if (value != null) {
    13171317            String old = System.setProperty(key, value);
    1318             if (!key.toLowerCase(Locale.ENGLISH).contains("password")) {
    1319                 Main.debug("System property '" + key + "' set to '" + value + "'. Old value was '" + old + '\'');
    1320             } else {
    1321                 Main.debug("System property '" + key + "' changed.");
     1318            if (Main.isDebugEnabled()) {
     1319                if (!key.toLowerCase(Locale.ENGLISH).contains("password")) {
     1320                    Main.debug("System property '" + key + "' set to '" + value + "'. Old value was '" + old + '\'');
     1321                } else {
     1322                    Main.debug("System property '" + key + "' changed.");
     1323                }
    13221324            }
    13231325            return old;
Note: See TracChangeset for help on using the changeset viewer.