Ignore:
Timestamp:
2013-10-07T00:04:48+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Nested blocks of code should not be left empty

File:
1 edited

Legend:

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

    r2830 r6310  
    44import java.util.List;
    55
     6import org.openstreetmap.josm.Main;
    67import org.openstreetmap.josm.gui.MapFrame;
    78import org.openstreetmap.josm.gui.download.DownloadSelection;
     
    2930            plugin.getClass().getMethod("mapFrameInitialized", MapFrame.class, MapFrame.class).invoke(plugin, oldFrame, newFrame);
    3031        } catch (NoSuchMethodException e) {
     32            Main.debug("Plugin "+plugin+" does not define mapFrameInitialized");
    3133        } catch (Exception e) {
    3234            BugReportExceptionHandler.handleException(new PluginException(this, getPluginInformation().name, e));
     
    3840            return (PreferenceSetting)plugin.getClass().getMethod("getPreferenceSetting").invoke(plugin);
    3941        } catch (NoSuchMethodException e) {
     42            Main.debug("Plugin "+plugin+" does not define getPreferenceSetting");
    4043            return null;
    4144        } catch (Exception e) {
     
    4952            plugin.getClass().getMethod("addDownloadSelection", List.class).invoke(plugin, list);
    5053        } catch (NoSuchMethodException e) {
    51             // ignore
     54            Main.debug("Plugin "+plugin+" does not define addDownloadSelection");
    5255        } catch (Exception e) {
    5356            BugReportExceptionHandler.handleException(new PluginException(this, getPluginInformation().name, e));
Note: See TracChangeset for help on using the changeset viewer.