Changeset 14726 in josm


Ignore:
Timestamp:
2019-01-24T00:40:44+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #17235 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/HtmlPanel.java

    r13111 r14726  
    2929
    3030    private static final HyperlinkListener defaultHyperlinkListener = e -> {
    31         if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) {
     31        if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType()) && e.getURL() != null) {
    3232            OpenBrowser.displayUrl(e.getURL().toString());
    3333        }
Note: See TracChangeset for help on using the changeset viewer.