Changeset 7518 in josm for trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
- Timestamp:
- 2014-09-10T02:29:55+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r7509 r7518 41 41 String k = ent.getKey(); 42 42 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); 45 44 @SuppressWarnings("unchecked") 46 45 Collection<GpxLink> their = (Collection<GpxLink>) ent.getValue(); 47 46 my.addAll(their); 48 47 } else { 49 attr.put(k, ent.getValue());48 put(k, ent.getValue()); 50 49 } 51 50 }
Note:
See TracChangeset
for help on using the changeset viewer.
