Ignore:
Timestamp:
2017-03-19T02:26:34+01:00 (7 years ago)
Author:
Don-vip
Message:

PMD - Strict Exceptions

Location:
trunk/src/org/openstreetmap/josm/gui/preferences
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r11397 r11746  
    599599                } catch (SecurityException ex) {
    600600                    Main.error(ex);
    601                 } catch (RuntimeException ex) {
     601                } catch (RuntimeException ex) { // NOPMD
    602602                    // allow to change most settings even if e.g. a plugin fails
    603603                    BugReportExceptionHandler.handleException(ex);
     
    616616            } catch (SecurityException ex) {
    617617                Main.error(ex);
    618             } catch (RuntimeException ex) {
     618            } catch (RuntimeException ex) { // NOPMD
    619619                BugReportExceptionHandler.handleException(ex);
    620620            } finally {
  • trunk/src/org/openstreetmap/josm/gui/preferences/map/MapPaintPreference.java

    r11493 r11746  
    165165                return css.title;
    166166            }
    167         } catch (RuntimeException ignore) {
     167        } catch (RuntimeException ignore) { // NOPMD
    168168            Main.debug(ignore);
    169169        }
Note: See TracChangeset for help on using the changeset viewer.