Ignore:
Timestamp:
2015-06-03T14:05:30+02:00 (8 years ago)
Author:
Don-vip
Message:

global use of String.isEmpty()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java

    r8443 r8461  
    147147        String pl = Utils.join(",", Main.pref.getCollection("plugins"));
    148148        String printsite = site.replaceAll("%<(.*)>", "");
    149         if (pl != null && pl.length() != 0) {
     149        if (pl != null && !pl.isEmpty()) {
    150150            site = site.replaceAll("%<(.*)>", "$1"+pl);
    151151        } else {
Note: See TracChangeset for help on using the changeset viewer.