Changeset 9793 in josm
- Timestamp:
- 2016-02-13T20:49:22+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r9781 r9793 1086 1086 Set evalue = (Set) e.getValue(); 1087 1087 JsonArrayBuilder a = Json.createArrayBuilder(); 1088 for (Object evo: (Collection)evalue) {1088 for (Object evo: evalue) { 1089 1089 a.add(evo.toString()); 1090 1090 } … … 1418 1418 * setting, add it to the list here with an expiry date (written as comment). If you 1419 1419 * 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 1420 1421 */ 1421 1422 private void removeObsolete(int loadedVersion) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r9788 r9793 33 33 import java.util.List; 34 34 import java.util.Map; 35 import java.util.Map.Entry;36 35 import java.util.concurrent.ForkJoinPool; 37 36 import java.util.concurrent.ForkJoinTask; … … 261 260 } 262 261 } 262 263 263 /* can be set by tests, if detailed benchmark data is requested */ 264 264 public BenchmarkData benchmarkData = null; -
trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java
r9789 r9793 2 2 package org.openstreetmap.josm; 3 3 4 import org.openstreetmap.josm.io.XmlWriter; 5 4 6 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 5 6 import org.openstreetmap.josm.io.XmlWriter;7 7 8 8 /** … … 63 63 /** 64 64 * Emit one data value for the Jenkins Measurement Plots Plugin. 65 * 65 * 66 66 * 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 * 69 68 * @param name the name / title of the measurement 70 69 * @param value the value 70 * @see https://wiki.jenkins-ci.org/display/JENKINS/Measurement+Plots+Plugin 71 71 */ 72 72 public static void measurementPlotsPluginOutput(String name, double value) { -
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java
r9788 r9793 68 68 } 69 69 } 70 70 71 private static final EnumMap<Feature, BooleanStyleSetting> filters = new EnumMap<>(Feature.class); 71 72 … … 112 113 113 114 MapCSSStyleSource defaultStyle = null; 114 for (int i = 0; i< sources.size(); i++) { 115 for (int i = 0; i < sources.size(); i++) { 115 116 StyleSource s = sources.get(i); 116 117 if ("resource://styles/standard/elemstyles.mapcss".equals(s.url)) { … … 199 200 try { 200 201 Thread.sleep(300); 201 } catch (InterruptedException ex) {} 202 } catch (InterruptedException ex) { 203 Main.warn(ex); 204 } 202 205 StyledMapRenderer.BenchmarkData data = new StyledMapRenderer.BenchmarkData(); 203 206 data.skipDraw = skipDraw;
Note:
See TracChangeset
for help on using the changeset viewer.