Ignore:
Timestamp:
2016-07-24T13:54:44+02:00 (8 years ago)
Author:
Don-vip
Message:

simplify handling of ignored/traced exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r10378 r10626  
    304304            gv.setGlyphTransform(0, AffineTransform.getTranslateInstance(1000, 1000));
    305305            Shape shape = gv.getGlyphOutline(0);
    306             Main.trace("#10446: shape: "+shape.getBounds());
     306            if (Main.isTraceEnabled()) {
     307                Main.trace("#10446: shape: "+shape.getBounds());
     308            }
    307309            // x is about 1000 on normal stystems and about 2000 when the bug occurs
    308310            int x = shape.getBounds().x;
Note: See TracChangeset for help on using the changeset viewer.