Changeset 31655 in osm for applications/editors/josm/plugins/opendata/src/org
- Timestamp:
- 2015-10-20T16:57:35+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/WayCombiner.java
r30723 r31655 17 17 import org.openstreetmap.josm.command.Command; 18 18 import org.openstreetmap.josm.corrector.ReverseWayTagCorrector; 19 import org.openstreetmap.josm.corrector.UserCancelException;20 19 import org.openstreetmap.josm.data.osm.Node; 21 20 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 24 23 import org.openstreetmap.josm.data.osm.Way; 25 24 import org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog; 25 import org.openstreetmap.josm.tools.UserCancelException; 26 26 27 27 // FIXME: Try to refactor CombineWayAction instead of using this class -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GeographicReader.java
r31116 r31655 37 37 import org.opengis.referencing.operation.TransformException; 38 38 import org.openstreetmap.josm.Main; 39 import org.openstreetmap.josm.corrector.UserCancelException;40 39 import org.openstreetmap.josm.data.coor.LatLon; 41 40 import org.openstreetmap.josm.data.osm.Node; … … 51 50 import org.openstreetmap.josm.tools.ImageOverlay; 52 51 import org.openstreetmap.josm.tools.ImageProvider; 52 import org.openstreetmap.josm.tools.UserCancelException; 53 53 import org.openstreetmap.josm.tools.ImageProvider.ImageSizes; 54 54 -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GmlReader.java
r31364 r31655 23 23 import org.opengis.referencing.operation.TransformException; 24 24 import org.openstreetmap.josm.Main; 25 import org.openstreetmap.josm.corrector.UserCancelException;26 25 import org.openstreetmap.josm.data.osm.DataSet; 27 26 import org.openstreetmap.josm.data.osm.Node; … … 33 32 import org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler; 34 33 import org.openstreetmap.josm.plugins.opendata.core.datasets.NationalHandlers; 34 import org.openstreetmap.josm.tools.UserCancelException; 35 35 36 36 import com.vividsolutions.jts.geom.Coordinate; -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/MifReader.java
r30730 r31655 306 306 if (index < words.length && "Bounds".equals(words[index])) { 307 307 // Useless parenthesis... "(minx, miny) (maxx, maxy)" 308 minx = Double. parseDouble(words[index+1].substring(1));309 miny = Double. parseDouble(words[index+2].substring(0, words[index+2].length()-1));310 maxx = Double. parseDouble(words[index+3].substring(1));311 maxy = Double. parseDouble(words[index+4].substring(0, words[index+4].length()-1));308 minx = Double.valueOf(words[index+1].substring(1)); 309 miny = Double.valueOf(words[index+2].substring(0, words[index+2].length()-1)); 310 maxx = Double.valueOf(words[index+3].substring(1)); 311 maxy = Double.valueOf(words[index+4].substring(0, words[index+4].length()-1)); 312 312 if (Main.isTraceEnabled()) { 313 313 Main.trace(Arrays.toString(words) + " -> "+minx+","+miny+","+maxx+","+maxy); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/ShpReader.java
r30982 r31655 40 40 import org.opengis.referencing.operation.TransformException; 41 41 import org.openstreetmap.josm.Main; 42 import org.openstreetmap.josm.corrector.UserCancelException;43 42 import org.openstreetmap.josm.data.osm.DataSet; 44 43 import org.openstreetmap.josm.data.osm.Node; … … 50 49 import org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler; 51 50 import org.openstreetmap.josm.plugins.opendata.core.datasets.NationalHandlers; 51 import org.openstreetmap.josm.tools.UserCancelException; 52 52 53 53 import com.vividsolutions.jts.geom.Geometry;
Note:
See TracChangeset
for help on using the changeset viewer.