Ignore:
Timestamp:
2011-05-15T23:51:25+02:00 (13 years ago)
Author:
bastiK
Message:

PaintVisitor refactoring, includes hook for external MapRenderers (author: Gubaer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java

    r3874 r4087  
    1818import org.openstreetmap.josm.io.OsmTransferException;
    1919import org.openstreetmap.josm.tools.ImageProvider;
     20import org.openstreetmap.josm.tools.Utils;
    2021import org.xml.sax.SAXException;
    2122
     
    186187            throw new PluginListParseException(e);
    187188        } finally {
    188             if (fin != null) {
    189                 try {
    190                     fin.close();
    191                 } catch(IOException e){ /* ignore */}
    192             }
     189            Utils.close(fin);
    193190        }
    194191    }
Note: See TracChangeset for help on using the changeset viewer.