Ignore:
Timestamp:
2016-07-24T14:48:47+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r10611 r10627  
    110110            } catch (IllegalArgumentException e) {
    111111                // Legacy settings
     112                Main.trace(e);
    112113                return Boolean.parseBoolean(s) ? ButtonHidingType.DYNAMIC : ButtonHidingType.ALWAYS_SHOWN;
    113114            }
     
    699700                new WindowGeometry(preferencePrefix+".geometry").applySafe(this);
    700701            } catch (WindowGeometryException e) {
     702                Main.debug(e);
    701703                ToggleDialog.this.setPreferredSize(ToggleDialog.this.getDefaultDetachedSize());
    702704                pack();
Note: See TracChangeset for help on using the changeset viewer.