Changeset 34972 in osm for applications/editors/josm/plugins/print/src
- Timestamp:
- 2019-04-11T02:04:26+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java
r34547 r34972 64 64 import org.openstreetmap.josm.tools.GBC; 65 65 import org.openstreetmap.josm.tools.Logging; 66 import org.openstreetmap.josm.tools.Utils; 66 import org.openstreetmap.josm.tools.ReflectionUtils; 67 67 68 68 /** … … 524 524 Method getEnumValueTable = realClass.getDeclaredMethod("getEnumValueTable"); 525 525 Constructor<? extends Attribute> constructor = realClass.getDeclaredConstructor(int.class); 526 Utils.setObjectsAccessible(getEnumValueTable, constructor); 526 ReflectionUtils.setObjectsAccessible(getEnumValueTable, constructor); 527 527 Attribute fakeInstance = constructor.newInstance(Integer.MAX_VALUE); 528 528 EnumSyntax[] enumTable = (EnumSyntax[]) getEnumValueTable.invoke(fakeInstance);
Note:
See TracChangeset
for help on using the changeset viewer.