Ignore:
Timestamp:
2016-02-14T20:49:43+01:00 (8 years ago)
Author:
stoecker
Message:

fix Coverity issues 1349911, 1349912, 1349913, 1349917, 1349918, 1349919, 1349922, 1349923

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java

    r8958 r9799  
    323323            throws SAXException, IOException {
    324324        Collection<TaggingPreset> tp;
    325         CachedFile cf = new CachedFile(source).setHttpAccept(PRESET_MIME_TYPES);
    326325        try (
     326            CachedFile cf = new CachedFile(source).setHttpAccept(PRESET_MIME_TYPES);
    327327            // zip may be null, but Java 7 allows it: https://blogs.oracle.com/darcy/entry/project_coin_null_try_with
    328328            InputStream zip = cf.findZipEntryInputStream("xml", "preset")
Note: See TracChangeset for help on using the changeset viewer.