Changeset 15623 in josm for trunk


Ignore:
Timestamp:
2019-12-29T21:15:56+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18484 - NPE

File:
1 edited

Legend:

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

    r12537 r15623  
    77import java.awt.Dimension;
    88import java.awt.GridBagLayout;
     9import java.util.Objects;
    910
    1011import javax.swing.JLabel;
     
    6667                    panel.add(needsSave, DEFAULT_CELL_STYLE);
    6768                    sb.append(tr("Layer ''{0}'' has modifications which should be saved to its associated file ''{1}''.",
    68                             htmlInfoName, info.getFile().toString()));
     69                            htmlInfoName, Objects.toString(info.getFile())));
    6970                } else {
    7071                    if (info.isSavable()) {
Note: See TracChangeset for help on using the changeset viewer.