Ignore:
Timestamp:
2015-05-17T02:40:26+02:00 (4 years ago)
Author:
Don-vip
Message:

code style - Method makes literal string comparisons passing the literal as an argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java

    r7575 r8373  
    5454            // TODO: Detect conflicts.
    5555            String k = ent.getKey();
    56             if (k.equals(META_LINKS) && attr.containsKey(META_LINKS)) {
     56            if (META_LINKS.equals(k) && attr.containsKey(META_LINKS)) {
    5757                Collection<GpxLink> my = super.<GpxLink>getCollection(META_LINKS);
    5858                @SuppressWarnings("unchecked")
Note: See TracChangeset for help on using the changeset viewer.