Ignore:
Timestamp:
2016-06-18T19:54:45+02:00 (8 years ago)
Author:
Don-vip
Message:

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

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java

    r10358 r10420  
    329329                    entry.url);
    330330            Main.error(msg);
     331            Main.debug(e);
    331332            HelpAwareOptionPane.showOptionDialog(Main.parent, msg, tr("Warning"), JOptionPane.WARNING_MESSAGE,
    332333                    HelpUtil.ht("/Styles/MapCSSImplementation"));
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java

    r10378 r10420  
    128128                        rotationAngle = RotationAngle.buildStaticRotation(rotationKW.val);
    129129                    } catch (IllegalArgumentException ignore) {
    130                         if (Main.isTraceEnabled()) {
    131                             Main.trace(ignore.getMessage());
    132                         }
     130                        Main.trace(ignore);
    133131                    }
    134132                }
Note: See TracChangeset for help on using the changeset viewer.