Ignore:
Timestamp:
2017-05-26T23:33:22+02:00 (8 years ago)
Author:
donvip
Message:

add debug info when registering JAI providers

File:
1 edited

Legend:

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

    r32537 r33337  
    1919import org.openstreetmap.josm.plugins.PluginHandler;
    2020import org.openstreetmap.josm.plugins.PluginInformation;
     21import org.openstreetmap.josm.tools.Logging;
    2122
    2223import com.sun.media.jai.imageioimpl.ImageReadWriteSpi;
     
    8081            Iterator<IIOServiceProvider> riter = ServiceLoader.load((Class<IIOServiceProvider>) categories.next(), loader).iterator();
    8182            while (riter.hasNext()) {
    82                 ioRegistry.registerServiceProvider(riter.next());
     83                IIOServiceProvider provider = riter.next();
     84                Logging.debug("Registering " + provider.getClass());
     85                ioRegistry.registerServiceProvider(provider);
    8386            }
    8487        }
Note: See TracChangeset for help on using the changeset viewer.