Changeset 9616 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2016-01-24T16:25:58+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r9141 r9616 1205 1205 /** 1206 1206 * Determines if the specified file is a valid and accessible JAR file. 1207 * @param jar The fil to check1207 * @param jar The file to check 1208 1208 * @return true if file can be opened as a JAR file. 1209 1209 * @since 5723 … … 1214 1214 new JarFile(jar).close(); 1215 1215 } catch (Exception e) { 1216 Main.warn(e); 1216 1217 return false; 1217 1218 } 1218 1219 return true; 1220 } else if (jar != null) { 1221 Main.warn("Invalid jar file ''"+jar+"'' (exists: "+jar.exists()+", canRead: "+jar.canRead()+")"); 1219 1222 } 1220 1223 return false;
Note: See TracChangeset
for help on using the changeset viewer.