Changeset 34972 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2019-04-11T02:04:26+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/opendata
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/build.xml
r34805 r34972 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="opendata" default="dist" basedir="."> 3 <property name="plugin.main.version" value="14 347"/>3 <property name="plugin.main.version" value="14977"/> 4 4 <property name="plugin.author" value="Don-vip"/> 5 5 <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/> -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GeographicReader.java
r34899 r34972 64 64 import org.openstreetmap.josm.tools.ImageProvider.ImageSizes; 65 65 import org.openstreetmap.josm.tools.Logging; 66 import org.openstreetmap.josm.tools.ReflectionUtils; 66 67 import org.openstreetmap.josm.tools.UserCancelException; 67 68 import org.openstreetmap.josm.tools.Utils; … … 354 355 try { 355 356 Field f = AbstractIdentifiedObject.class.getDeclaredField("identifiers"); 356 Utils.setObjectsAccessible(f);357 ReflectionUtils.setObjectsAccessible(f); 357 358 f.set(crs, Collections.singleton(new NamedIdentifier(Citations.fromName("EPSG"), epsgCode.toString()))); 358 359 } catch (ReflectiveOperationException | SecurityException e) { -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/TabFiles.java
r34019 r34972 19 19 import org.openstreetmap.josm.tools.JosmRuntimeException; 20 20 import org.openstreetmap.josm.tools.Logging; 21 import org.openstreetmap.josm.tools. Utils;21 import org.openstreetmap.josm.tools.ReflectionUtils; 22 22 23 23 /** … … 40 40 try { 41 41 Field furls = ShpFiles.class.getDeclaredField("urls"); 42 Utils.setObjectsAccessible(furls);42 ReflectionUtils.setObjectsAccessible(furls); 43 43 urls = (Map<ShpFileType, URL>) furls.get(this); 44 44 } catch (ReflectiveOperationException e) {
Note:
See TracChangeset
for help on using the changeset viewer.