Changeset 18208 in josm for trunk/scripts


Ignore:
Timestamp:
2021-09-11T17:50:57+02:00 (3 years ago)
Author:
Don-vip
Message:

global use of Utils.isEmpty/isBlank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.java

    r17737 r18208  
    6464import org.openstreetmap.josm.tools.OptionParser.OptionCount;
    6565import org.openstreetmap.josm.tools.ReflectionUtils;
     66import org.openstreetmap.josm.tools.Utils;
    6667import org.xml.sax.SAXException;
    6768
     
    959960        Map<String, Set<String>> jh = getNoTileHeader(j);
    960961        if (!Objects.equals(eh, jh)) {
    961             if (jh == null || jh.isEmpty()) {
     962            if (Utils.isEmpty(jh)) {
    962963                myprintln("- Missing JOSM no tile headers ("+eh+"): "+getDescription(j));
    963964            } else if (eh != null && !eh.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.