Changeset 10123 in josm for trunk/src/org


Ignore:
Timestamp:
2016-04-09T01:35:58+02:00 (9 years ago)
Author:
Don-vip
Message:

fix unit test failing with clean jenkins workspace

Location:
trunk/src/org/openstreetmap/josm/plugins
Files:
2 edited

Legend:

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

    r8846 r10123  
    3434     * @throws PluginListParseException if plugin manifest cannot be parsed
    3535     */
    36     protected static PluginInformation createInfo(String name, String url, String manifest) throws PluginListParseException {
     36    public static PluginInformation createInfo(String name, String url, String manifest) throws PluginListParseException {
    3737        try {
    3838            return new PluginInformation(
  • trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java

    r10043 r10123  
    1616import org.openstreetmap.josm.Main;
    1717import org.openstreetmap.josm.gui.PleaseWaitRunnable;
     18import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    1819import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1920import org.openstreetmap.josm.io.OsmTransferException;
     
    136137
    137138    protected void scanLocalPluginRepository(ProgressMonitor monitor, File pluginsDirectory) {
    138         if (pluginsDirectory == null) return;
     139        if (pluginsDirectory == null)
     140            return;
     141        if (monitor == null)
     142            monitor = NullProgressMonitor.INSTANCE;
    139143        try {
    140144            monitor.beginTask("");
Note: See TracChangeset for help on using the changeset viewer.