Changeset 9231 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2016-01-01T02:35:34+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/Plugin.java
r8928 r9231 101 101 * Called in the download dialog to give the plugin a chance to modify the list 102 102 * of bounding box selectors. 103 * @param list list of bounding box selectors 103 104 */ 104 105 public void addDownloadSelection(List<DownloadSelection> list) {} … … 106 107 /** 107 108 * Copies the resource 'from' to the file in the plugin directory named 'to'. 109 * @param from source file 110 * @param to target file 108 111 * @throws FileNotFoundException if the file exists but is a directory rather than a regular file, 109 112 * does not exist but cannot be created, or cannot be opened for any other reason … … 149 152 final URL pluginJarUrl = Utils.fileToURL(pluginJar); 150 153 return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() { 154 @Override 151 155 public ClassLoader run() { 152 156 return new URLClassLoader(new URL[] {pluginJarUrl}, Main.class.getClassLoader());
Note:
See TracChangeset
for help on using the changeset viewer.