Changeset 11626 in josm for trunk/src/org


Ignore:
Timestamp:
2017-02-26T00:56:29+01:00 (8 years ago)
Author:
Don-vip
Message:

see #12313 - fix NPE, checkstyle violations and two failing unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r11625 r11626  
    6767        putValue("toolbar", "imagery_" + info.getToolbarName());
    6868        putValue("help", ht("/Preferences/Imagery"));
    69         setTooltip(info.getToolTipText().replaceAll("</?html>",""));
     69        String tooltip = info.getToolTipText();
     70        if (tooltip != null) {
     71            setTooltip(tooltip.replaceAll("</?html>", ""));
     72        }
    7073        this.info = info;
    7174        installAdapters();
Note: See TracChangeset for help on using the changeset viewer.