Changeset 34972 in osm for applications/editors/josm/plugins/opendata/src
- Timestamp:
- 2019-04-11T02:04:26+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic
- Files:
-
- 2 edited
-
GeographicReader.java (modified) (2 diffs)
-
TabFiles.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
