Changeset 34972 in osm for applications/editors/josm/plugins/print
- Timestamp:
- 2019-04-11T02:04:26+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/print
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/build.xml
r34547 r34972 5 5 <property name="commit.message" value="Added a field to specify the map scale."/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="14 153"/>7 <property name="plugin.main.version" value="14977"/> 8 8 9 9 <property name="plugin.author" value="Kai Pastor"/> -
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.