Changeset 9799 in josm for trunk/src/org/openstreetmap/josm/gui/tagging
- Timestamp:
- 2016-02-14T20:49:43+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
r8958 r9799 323 323 throws SAXException, IOException { 324 324 Collection<TaggingPreset> tp; 325 CachedFile cf = new CachedFile(source).setHttpAccept(PRESET_MIME_TYPES);326 325 try ( 326 CachedFile cf = new CachedFile(source).setHttpAccept(PRESET_MIME_TYPES); 327 327 // zip may be null, but Java 7 allows it: https://blogs.oracle.com/darcy/entry/project_coin_null_try_with 328 328 InputStream zip = cf.findZipEntryInputStream("xml", "preset")
Note:
See TracChangeset
for help on using the changeset viewer.