Changeset 8510 in josm for trunk/test/performance


Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java

    r7937 r8510  
    3535        JOSMFixture.createPerformanceTestFixture().init();
    3636        img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_3BYTE_BGR);
    37         g = (Graphics2D)img.getGraphics();
     37        g = (Graphics2D) img.getGraphics();
    3838        nc = new NavigatableComponent();
    3939        nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT);
     
    5454
    5555    private static void test(int iterations, DataSet ds, Bounds bounds) throws Exception {
    56         Rendering visitor = new StyledMapRenderer(g,nc,false);
     56        Rendering visitor = new StyledMapRenderer(g, nc, false);
    5757        nc.zoomTo(bounds);
    58         for (int i=0; i<iterations; i++) {
     58        for (int i = 0; i < iterations; i++) {
    5959            visitor.render(ds, true, bounds);
    6060        }
Note: See TracChangeset for help on using the changeset viewer.