Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 7108)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 7109)
@@ -25,5 +25,4 @@
 import java.awt.geom.Point2D;
 import java.awt.geom.Rectangle2D;
-import java.util.AbstractList;
 import java.util.ArrayList;
 import java.util.Collection;
@@ -71,4 +70,5 @@
 import org.openstreetmap.josm.gui.mappaint.StyleCache.StyleList;
 import org.openstreetmap.josm.gui.mappaint.TextElement;
+import org.openstreetmap.josm.tools.CompositeList;
 import org.openstreetmap.josm.tools.ImageProvider;
 import org.openstreetmap.josm.tools.Utils;
@@ -237,34 +237,4 @@
 
             return Float.compare(this.style.object_z_index, other.style.object_z_index);
-        }
-    }
-
-    /**
-     * Joined List build from two Lists (read-only).
-     *
-     * Extremely simple single-purpose implementation.
-     * @param <T>
-     */
-    public static class CompositeList<T> extends AbstractList<T> {
-        List<? extends T> a,b;
-
-        /**
-         * Constructs a new {@code CompositeList} from two lists.
-         * @param a First list
-         * @param b Second list
-         */
-        public CompositeList(List<? extends T> a, List<? extends T> b) {
-            this.a = a;
-            this.b = b;
-        }
-
-        @Override
-        public T get(int index) {
-            return index < a.size() ? a.get(index) : b.get(index - a.size());
-        }
-
-        @Override
-        public int size() {
-            return a.size() + b.size();
         }
     }
@@ -1360,8 +1330,10 @@
 
         /**
-         * Constructor for CreateStyleRecordsWorker.
+         * Constructs a new {@code ComputeStyleListWorker}.
          * @param input the primitives to process
          * @param from first index of <code>input</code> to use
          * @param to last index + 1
+         * @param output the list of styles to which styles will be added
+         * @param data the data set
          */
         public ComputeStyleListWorker(final List<? extends OsmPrimitive> input, int from, int to, List<StyleRecord> output, DataSet data) {
@@ -1516,7 +1488,7 @@
             List<Way> ways = data.searchWays(bbox);
             List<Relation> relations = data.searchRelations(bbox);
-
+    
             final List<StyleRecord> allStyleElems = new ArrayList<>(nodes.size()+ways.size()+relations.size());
-
+    
             ConcurrentTasksHelper helper = new ConcurrentTasksHelper(allStyleElems, data);
 
@@ -1545,10 +1517,10 @@
                 );
             }
-
+    
             if (Main.isTraceEnabled()) {
                 timeFinished = System.currentTimeMillis();
                 System.err.println("; phase 2 (draw): " + (timeFinished - timePhase1) + " ms; total: " + (timeFinished - timeStart) + " ms");
             }
-
+    
             drawVirtualNodes(data, bbox);
         } finally {
Index: trunk/src/org/openstreetmap/josm/tools/CompositeList.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/CompositeList.java	(revision 7109)
+++ trunk/src/org/openstreetmap/josm/tools/CompositeList.java	(revision 7109)
@@ -0,0 +1,36 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.tools;
+
+import java.util.AbstractList;
+import java.util.List;
+
+/**
+ * Joined List build from two Lists (read-only).
+ *
+ * Extremely simple single-purpose implementation.
+ * @param <T>
+ * @since 7109
+ */
+public class CompositeList<T> extends AbstractList<T> {
+    private List<? extends T> a,b;
+
+    /**
+     * Constructs a new {@code CompositeList} from two lists.
+     * @param a First list
+     * @param b Second list
+     */
+    public CompositeList(List<? extends T> a, List<? extends T> b) {
+        this.a = a;
+        this.b = b;
+    }
+
+    @Override
+    public T get(int index) {
+        return index < a.size() ? a.get(index) : b.get(index - a.size());
+    }
+
+    @Override
+    public int size() {
+        return a.size() + b.size();
+    }
+}
