Changeset 2837 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-01-13T09:19:20+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r2830 r2837 194 194 try { 195 195 try { 196 Constructor<?> c = klass.get DeclaredConstructor(PluginInformation.class);196 Constructor<?> c = klass.getConstructor(PluginInformation.class); 197 197 Object plugin = c.newInstance(this); 198 198 return new PluginProxy(plugin, this); 199 199 } catch(NoSuchMethodException e) { 200 // do nothing - try again with the noarg constructor for legacy support 201 } catch(InstantiationException e) { 200 202 // do nothing - try again with the noarg constructor for legacy support 201 203 }
Note:
See TracChangeset
for help on using the changeset viewer.