Ignore:
Timestamp:
2017-06-07T14:56:52+02:00 (7 years ago)
Author:
donvip
Message:

remove call to deprecated API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java

    r33337 r33380  
    1717import org.openstreetmap.josm.Main;
    1818import org.openstreetmap.josm.plugins.Plugin;
    19 import org.openstreetmap.josm.plugins.PluginHandler;
    2019import org.openstreetmap.josm.plugins.PluginInformation;
    2120import org.openstreetmap.josm.tools.Logging;
     
    7473        // Manual registering because plugin jar is not on application classpath
    7574        IIORegistry ioRegistry = IIORegistry.getDefaultInstance();
    76         ClassLoader loader = PluginHandler.getPluginClassLoader();
     75        ClassLoader loader = GeoToolsPlugin.class.getClassLoader();
    7776
    7877        Iterator<Class<?>> categories = ioRegistry.getCategories();
Note: See TracChangeset for help on using the changeset viewer.