Changeset 16038 in josm for trunk/src/org


Ignore:
Timestamp:
2020-03-04T21:44:53+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18852 - avoid useless null-check (patch by hiddewie)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxReader.java

    r15593 r16038  
    432432                    break;
    433433                case "link":
    434                     if (currentLink.uri == null && accumulator != null && !accumulator.toString().isEmpty()) {
     434                    if (currentLink.uri == null && !accumulator.toString().isEmpty()) {
    435435                        currentLink = new GpxLink(accumulator.toString());
    436436                    }
Note: See TracChangeset for help on using the changeset viewer.