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

global use of Utils.isEmpty/isBlank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/DataSource.java

    r16599 r18208  
    1010
    1111import org.openstreetmap.josm.tools.CheckParameterUtil;
     12import org.openstreetmap.josm.tools.Utils;
    1213
    1314/**
     
    7576     */
    7677    public static Area getDataSourceArea(Collection<DataSource> dataSources) {
    77         if (dataSources == null || dataSources.isEmpty()) {
     78        if (Utils.isEmpty(dataSources)) {
    7879            return null;
    7980        }
Note: See TracChangeset for help on using the changeset viewer.