Ignore:
Timestamp:
2019-04-11T02:04:26+02:00 (6 years ago)
Author:
donvip
Message:

see #josm17580 #josm17581 #josm17582 #josm17583 #josm17584 #josm17585 #josm17586 #josm17587 #josm17588 - remove deprecated api (patches by taylor.smock)

Location:
applications/editors/josm/plugins/opendata
Files:
3 edited

Legend:

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

    r34805 r34972  
    11<?xml version="1.0" encoding="utf-8"?>
    22<project name="opendata" default="dist" basedir=".">
    3     <property name="plugin.main.version" value="14347"/>
     3    <property name="plugin.main.version" value="14977"/>
    44    <property name="plugin.author" value="Don-vip"/>
    55    <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  
    6464import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
    6565import org.openstreetmap.josm.tools.Logging;
     66import org.openstreetmap.josm.tools.ReflectionUtils;
    6667import org.openstreetmap.josm.tools.UserCancelException;
    6768import org.openstreetmap.josm.tools.Utils;
     
    354355                        try {
    355356                            Field f = AbstractIdentifiedObject.class.getDeclaredField("identifiers");
    356                             Utils.setObjectsAccessible(f);
     357                            ReflectionUtils.setObjectsAccessible(f);
    357358                            f.set(crs, Collections.singleton(new NamedIdentifier(Citations.fromName("EPSG"), epsgCode.toString())));
    358359                        } catch (ReflectiveOperationException | SecurityException e) {
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/TabFiles.java

    r34019 r34972  
    1919import org.openstreetmap.josm.tools.JosmRuntimeException;
    2020import org.openstreetmap.josm.tools.Logging;
    21 import org.openstreetmap.josm.tools.Utils;
     21import org.openstreetmap.josm.tools.ReflectionUtils;
    2222
    2323/**
     
    4040        try {
    4141            Field furls = ShpFiles.class.getDeclaredField("urls");
    42             Utils.setObjectsAccessible(furls);
     42            ReflectionUtils.setObjectsAccessible(furls);
    4343            urls = (Map<ShpFileType, URL>) furls.get(this);
    4444        } catch (ReflectiveOperationException e) {
Note: See TracChangeset for help on using the changeset viewer.