Ignore:
Timestamp:
2016-08-08T00:23:04+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S3655 - Optional value should only be accessed after calling isPresent()
sonar - squid:S2259 - Null pointers should not be dereferenced
+add trace message when loading SVG file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r10755 r10768  
    14761476     */
    14771477    public static BufferedImage createImageFromSvg(SVGDiagram svg, Dimension dim) {
     1478        if (Main.isTraceEnabled()) {
     1479            Main.trace(String.format("createImageFromSvg: %s %s", svg.getXMLBase(), dim));
     1480        }
    14781481        float sourceWidth = svg.getWidth();
    14791482        float sourceHeight = svg.getHeight();
Note: See TracChangeset for help on using the changeset viewer.