Ignore:
Timestamp:
2015-05-18T23:34:11+02:00 (9 years ago)
Author:
Don-vip
Message:
  • global use of String.isEmpty()
  • Correctness - Method throws alternative exception from catch block without history
File:
1 edited

Legend:

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

    r8390 r8394  
    604604                return; // some basic protection
    605605            }
    606             if (address == null || path == null || address.length() == 0 || path.length() == 0) {
     606            if (address == null || path == null || address.isEmpty() || path.isEmpty()) {
    607607                log("Error: Please specify url=\"where to get file\" and path=\"where to place it\"");
    608608                return;
Note: See TracChangeset for help on using the changeset viewer.