Changeset 5371 in josm


Ignore:
Timestamp:
2012-07-28T14:30:57+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #7908 - Wrong comparison of strings (modified patch by Skyman)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r5050 r5371  
    962962                    int row = t.rowAtPoint(e.getPoint());
    963963                    String url = (String) t.getValueAt(row, col);
    964                     if(url == "")
     964                    if (url == null || url.isEmpty())
    965965                        return;
    966966                    OpenBrowser.displayUrl(url);
Note: See TracChangeset for help on using the changeset viewer.