Ignore:
Timestamp:
2021-09-12T02:10:25+02:00 (3 years ago)
Author:
Don-vip
Message:

global use of !Utils.isEmpty/isBlank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java

    r18208 r18211  
    184184    private String makePathFit(String t) {
    185185        boolean hasEllipsis = false;
    186         while (t != null && !t.isEmpty()) {
     186        while (!Utils.isEmpty(t)) {
    187187            int txtwidth = lblFilename.getFontMetrics(lblFilename.getFont()).stringWidth(t);
    188188            if (txtwidth < lblFilename.getWidth() || t.lastIndexOf(File.separator) < ELLIPSIS.length()) {
Note: See TracChangeset for help on using the changeset viewer.