Changeset 4145 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2011-06-19T15:11:18+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r3936 r4145 79 79 this.name = name; 80 80 this.file = file; 81 FileInputStream fis = null; 81 82 JarInputStream jar = null; 82 83 try { 83 jar = new JarInputStream(new FileInputStream(file)); 84 fis = new FileInputStream(file); 85 jar = new JarInputStream(fis); 84 86 Manifest manifest = jar.getManifest(); 85 87 if (manifest == null) … … 93 95 try { 94 96 jar.close(); 97 } catch(IOException e) { /* ignore */ } 98 } 99 if (fis != null) { 100 try { 101 fis.close(); 95 102 } catch(IOException e) { /* ignore */ } 96 103 }
Note:
See TracChangeset
for help on using the changeset viewer.