Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java
r10965 r12620 14 14 import java.util.Map; 15 15 16 import org.openstreetmap.josm.Main;17 16 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 18 17 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 19 18 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 20 19 import org.openstreetmap.josm.io.OsmTransferException; 20 import org.openstreetmap.josm.tools.Logging; 21 21 import org.xml.sax.SAXException; 22 22 … … 96 96 processLocalPluginInformationFile(f); 97 97 } catch (PluginListParseException e) { 98 Main.warn(tr("Failed to scan file ''{0}'' for plugin information. Skipping.", fname));99 Main.error(e);98 Logging.warn(tr("Failed to scan file ''{0}'' for plugin information. Skipping.", fname)); 99 Logging.error(e); 100 100 } 101 101 monitor.worked(1); … … 123 123 } 124 124 } catch (PluginException e) { 125 Main.warn(e, "PluginException: ");126 Main.warn(tr("Failed to scan file ''{0}'' for plugin information. Skipping.", fname));125 Logging.log(Logging.LEVEL_WARN, "PluginException: ", e); 126 Logging.warn(tr("Failed to scan file ''{0}'' for plugin information. Skipping.", fname)); 127 127 } 128 128 monitor.worked(1);
Note:
See TracChangeset
for help on using the changeset viewer.