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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.