Changeset 6792 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2014-01-31T02:44:56+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r6643 r6792 322 322 if (className == null) 323 323 return null; 324 try{ 325 Class<?> realClass = Class.forName(className, true, classLoader); 326 return realClass; 324 try { 325 return Class.forName(className, true, classLoader); 327 326 } catch (ClassNotFoundException e) { 328 327 throw new PluginException(name, e); … … 381 380 File pluginFile = new File(s, pluginName + ".jar"); 382 381 if (pluginFile.exists()) { 383 PluginInformation info = new PluginInformation(pluginFile); 384 return info; 382 return new PluginInformation(pluginFile); 385 383 } 386 384 }
Note:
See TracChangeset
for help on using the changeset viewer.