Changeset 3415 in osm for applications/editors
- Timestamp:
- 2007-06-29T18:43:12+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pluginmanager/src/at/dallermassl/josm/plugin/pluginmanager/PluginResource.java
r3335 r3415 78 78 public void install() { 79 79 File targetFile = new File(target); 80 if(targetFile.isDirectory() 81 || targetFile.getAbsolutePath().endsWith("/") 82 || targetFile.getAbsolutePath().endsWith("\\")) { 83 targetFile = new File(targetFile, resourceUrl.getFile()); 84 } 80 85 File parentDir = targetFile.getParentFile(); 81 86 if(!parentDir.exists() && !parentDir.mkdirs()) {
Note:
See TracChangeset
for help on using the changeset viewer.