Changeset 9773 in josm for trunk/test/performance/org


Ignore:
Timestamp:
2016-02-09T23:32:34+01:00 (4 years ago)
Author:
Don-vip
Message:

checkstyle

Location:
trunk/test/performance/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java

    r9771 r9773  
    3030            measurementPlotsPlugin = active;
    3131        }
     32
    3233        /**
    3334         * Prints the time since this timer was created.
     
    3637            long dTime = (System.nanoTime() - time) / 1000000;
    3738            if (measurementPlotsPlugin) {
    38                 System.out.println(String.format("<measurement><name>%s (ms)</name><value>%.1f</value></measurement>", name, (double)dTime));
     39                System.out.println(String.format("<measurement><name>%s (ms)</name><value>%.1f</value></measurement>", name, (double) dTime));
    3940            } else {
    4041                System.out.println("TIMER " + name + ": " + dTime + "ms");
  • trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java

    r9769 r9773  
    99import java.io.IOException;
    1010import java.io.InputStream;
     11
    1112import javax.imageio.ImageIO;
    1213
     
    5152        g.setColor(Color.BLACK);
    5253        g.fillRect(0, 0, IMG_WIDTH, IMG_WIDTH);
    53         nc = Main.map.mapView;//new NavigatableComponent();
     54        nc = Main.map.mapView;
    5455        nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT);
    5556
Note: See TracChangeset for help on using the changeset viewer.