Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

Location:
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/OdPlugin.java

    r29771 r29854  
    1616package org.openstreetmap.josm.plugins.opendata;
    1717
    18 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    19 import static org.openstreetmap.josm.tools.I18n.marktr;
    20 
    2118import java.awt.Image;
    2219import java.awt.Toolkit;
    23 import java.awt.event.KeyEvent;
    2420import java.io.File;
    2521import java.net.URL;
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NeptuneReader.java

    r28361 r29854  
    171171                return n;
    172172        }
    173        
     173        /*
    174174        private Node createStopPosition(StopPointType stop) {
    175175                Node n = createNode(createLatLon(stop));
     
    179179                return n;
    180180        }
    181 
     181*/
    182182        protected Relation createRelation(String type){
    183183                Relation r = new Relation();
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/tabular/SpreadSheetReader.java

    r29665 r29854  
    213213                        if (i == c.xCol) {
    214214                            coordinate = true;
    215                             en.setLocation(parseDouble(fields[i]), en.north());
     215                            ens.put(c, new EastNorth(parseDouble(fields[i]), en.north()));
    216216                            if (handler != null) {
    217217                                handler.setXCol(i);
     
    219219                        } else if (i == c.yCol) {
    220220                            coordinate = true;
    221                             en.setLocation(en.east(), parseDouble(fields[i]));
     221                            ens.put(c, new EastNorth(en.east(), parseDouble(fields[i])));
    222222                            if (handler != null) {
    223223                                handler.setYCol(i);
Note: See TracChangeset for help on using the changeset viewer.