Changeset 19352 in osm for applications/editors/josm


Ignore:
Timestamp:
2010-01-09T23:25:29+01:00 (14 years ago)
Author:
stoecker
Message:

updated to current josm state

Location:
applications/editors/josm/plugins/openvisible
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/openvisible/build.xml

    r17536 r19352  
    2626                <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5"/>
    2727                <attribute name="Plugin-Description" value="Allows opening gpx/osm files that intersect the currently visible screen area"/>
    28                 <attribute name="Plugin-Mainversion" value="2082"/>
     28                <attribute name="Plugin-Mainversion" value="2795"/>
    2929                <attribute name="Plugin-Stage" value="50"/>
    3030                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java

    r17536 r19352  
    120120            GpxReader r = null;
    121121            if (file.getName().endsWith(".gpx.gz")) {
    122                 r = new GpxReader(new GZIPInputStream(new FileInputStream(file)), file.getAbsoluteFile().getParentFile());
     122                r = new GpxReader(new GZIPInputStream(new FileInputStream(file)));
    123123            } else{
    124                 r = new GpxReader(new FileInputStream(file), file.getAbsoluteFile().getParentFile());
     124                r = new GpxReader(new FileInputStream(file));
    125125            }
    126126            r.data.storageFile = file;
Note: See TracChangeset for help on using the changeset viewer.