Ignore:
Timestamp:
2019-04-11T02:04:26+02:00 (5 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/print
Files:
2 edited

Legend:

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

    r34547 r34972  
    55    <property name="commit.message" value="Added a field to specify the map scale."/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="14153"/>
     7    <property name="plugin.main.version" value="14977"/>
    88
    99    <property name="plugin.author" value="Kai Pastor"/>
  • applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java

    r34547 r34972  
    6464import org.openstreetmap.josm.tools.GBC;
    6565import org.openstreetmap.josm.tools.Logging;
    66 import org.openstreetmap.josm.tools.Utils;
     66import org.openstreetmap.josm.tools.ReflectionUtils;
    6767
    6868/**
     
    524524                Method getEnumValueTable = realClass.getDeclaredMethod("getEnumValueTable");
    525525                Constructor<? extends Attribute> constructor = realClass.getDeclaredConstructor(int.class);
    526                 Utils.setObjectsAccessible(getEnumValueTable, constructor);
     526                ReflectionUtils.setObjectsAccessible(getEnumValueTable, constructor);
    527527                Attribute fakeInstance = constructor.newInstance(Integer.MAX_VALUE);
    528528                EnumSyntax[] enumTable = (EnumSyntax[]) getEnumValueTable.invoke(fakeInstance);
Note: See TracChangeset for help on using the changeset viewer.