Changeset 8951 in josm for trunk


Ignore:
Timestamp:
2015-10-26T14:28:49+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #11909 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java

    r8846 r8951  
    311311        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
    312312                int row, int column) {
    313             String v = value.toString();
     313            String v = "";
     314            if (value != null) {
     315                v = value.toString();
     316            }
    314317            setText(v);
    315318            return this;
Note: See TracChangeset for help on using the changeset viewer.