Ignore:
Timestamp:
2017-12-17T01:25:46+01:00 (2 years ago)
Author:
Don-vip
Message:

enable PMD rule PreserveStackTrace + add missing jars to run new PMD rule designer

File:
1 edited

Legend:

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

    r12846 r13207  
    66import java.awt.Graphics2D;
    77import java.lang.reflect.Constructor;
    8 import java.lang.reflect.InvocationTargetException;
    98import java.text.MessageFormat;
    109import java.util.ArrayList;
     
    307306            Constructor<?> c = activeRenderer.getConstructor(Graphics2D.class, NavigatableComponent.class, boolean.class);
    308307            return AbstractMapRenderer.class.cast(c.newInstance(g, viewport, isInactiveMode));
    309         } catch (InvocationTargetException e) {
    310             Logging.debug(e);
    311             throw new MapRendererFactoryException(e.getCause());
    312308        } catch (ReflectiveOperationException | IllegalArgumentException e) {
    313309            throw new MapRendererFactoryException(e);
Note: See TracChangeset for help on using the changeset viewer.