Ignore:
Timestamp:
2009-08-13T12:46:30+02:00 (16 years ago)
Author:
Gubaer
Message:

applied #3264: patch by plaicy: Cleanup unchecked in FileDrop and GpxWriter

File:
1 edited

Legend:

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

    r1947 r1975  
    6767            String k = ent.getKey();
    6868            if (k.equals(GpxData.META_LINKS)) {
    69                 for (GpxLink link : (Collection<GpxLink>) ent.getValue()) {
    70                     gpxLink(link);
     69                for (Object link : (Collection) ent.getValue()) {
     70                    gpxLink((GpxLink) link);
    7171                }
    7272            } else {
     
    116116        // write links
    117117        if(attr.containsKey(GpxData.META_LINKS)) {
    118             for (GpxLink link : (Collection<GpxLink>) attr.get(GpxData.META_LINKS)) {
    119                 gpxLink(link);
     118            for (Object link : (Collection) attr.get(GpxData.META_LINKS)) {
     119                gpxLink((GpxLink) link);
    120120            }
    121121        }
Note: See TracChangeset for help on using the changeset viewer.