Ignore:
Timestamp:
2014-09-10T02:29:55+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #10489 - Add additional attributes to GPX Export for nodes + GPX code improvements

File:
1 edited

Legend:

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

    r7509 r7518  
    4141            String k = ent.getKey();
    4242            if (k.equals(META_LINKS) && attr.containsKey(META_LINKS)) {
    43                 @SuppressWarnings("unchecked")
    44                 Collection<GpxLink> my = (Collection<GpxLink>) attr.get(META_LINKS);
     43                Collection<GpxLink> my = super.<GpxLink>getCollection(META_LINKS);
    4544                @SuppressWarnings("unchecked")
    4645                Collection<GpxLink> their = (Collection<GpxLink>) ent.getValue();
    4746                my.addAll(their);
    4847            } else {
    49                 attr.put(k, ent.getValue());
     48                put(k, ent.getValue());
    5049            }
    5150        }
Note: See TracChangeset for help on using the changeset viewer.