Changeset 9793 in josm for trunk


Ignore:
Timestamp:
2016-02-13T20:49:22+01:00 (8 years ago)
Author:
Don-vip
Message:

checkstyle

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r9781 r9793  
    10861086                Set evalue = (Set) e.getValue();
    10871087                JsonArrayBuilder a = Json.createArrayBuilder();
    1088                 for (Object evo: (Collection) evalue) {
     1088                for (Object evo: evalue) {
    10891089                    a.add(evo.toString());
    10901090                }
     
    14181418     * setting, add it to the list here with an expiry date (written as comment). If you
    14191419     * see something with an expiry date in the past, remove it from the list.
     1420     * @param loadedVersion JOSM version when the preferences file was written
    14201421     */
    14211422    private void removeObsolete(int loadedVersion) {
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r9788 r9793  
    3333import java.util.List;
    3434import java.util.Map;
    35 import java.util.Map.Entry;
    3635import java.util.concurrent.ForkJoinPool;
    3736import java.util.concurrent.ForkJoinTask;
     
    261260        }
    262261    }
     262
    263263    /* can be set by tests, if detailed benchmark data is requested */
    264264    public BenchmarkData benchmarkData = null;
  • trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java

    r9789 r9793  
    22package org.openstreetmap.josm;
    33
     4import org.openstreetmap.josm.io.XmlWriter;
     5
    46import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    5 
    6 import org.openstreetmap.josm.io.XmlWriter;
    77
    88/**
     
    6363    /**
    6464     * Emit one data value for the Jenkins Measurement Plots Plugin.
    65      * 
     65     *
    6666     * The plugin collects the values over multiple builds and plots them in a diagram.
    67      *
    68      * @see https://wiki.jenkins-ci.org/display/JENKINS/Measurement+Plots+Plugin
     67     *
    6968     * @param name the name / title of the measurement
    7069     * @param value the value
     70     * @see https://wiki.jenkins-ci.org/display/JENKINS/Measurement+Plots+Plugin
    7171     */
    7272    public static void measurementPlotsPluginOutput(String name, double value) {
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r9788 r9793  
    6868        }
    6969    }
     70
    7071    private static final EnumMap<Feature, BooleanStyleSetting> filters = new EnumMap<>(Feature.class);
    7172
     
    112113
    113114        MapCSSStyleSource defaultStyle = null;
    114         for (int i = 0; i< sources.size(); i++) {
     115        for (int i = 0; i < sources.size(); i++) {
    115116            StyleSource s = sources.get(i);
    116117            if ("resource://styles/standard/elemstyles.mapcss".equals(s.url)) {
     
    199200                try {
    200201                    Thread.sleep(300);
    201                 } catch (InterruptedException ex) {}
     202                } catch (InterruptedException ex) {
     203                    Main.warn(ex);
     204                }
    202205                StyledMapRenderer.BenchmarkData data = new StyledMapRenderer.BenchmarkData();
    203206                data.skipDraw = skipDraw;
Note: See TracChangeset for help on using the changeset viewer.