Changeset 5371 in josm


Ignore:
Timestamp:
Jul 28, 2012 2:30:57 PM (10 months 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.