Ignore:
Timestamp:
2014-12-13T01:07:04+01:00 (11 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r7752 r7801  
    14581458        private final int to;
    14591459        private final List<StyleRecord> output;
    1460         private final DataSet data;
    14611460
    14621461        private final ElemStyles styles = MapPaintStyles.getStyles();
     
    14721471         * @param to last index + 1
    14731472         * @param output the list of styles to which styles will be added
    1474          * @param data the data set
    14751473         */
    1476         public ComputeStyleListWorker(final List<? extends OsmPrimitive> input, int from, int to, List<StyleRecord> output, DataSet data) {
     1474        public ComputeStyleListWorker(final List<? extends OsmPrimitive> input, int from, int to, List<StyleRecord> output) {
    14771475            this.input = input;
    14781476            this.from = from;
    14791477            this.to = to;
    14801478            this.output = output;
    1481             this.data = data;
    14821479            this.styles.setDrawMultipolygon(drawMultipolygon);
    14831480        }
     
    15951592                int to = Math.min((i+1)*bucketsize, prims.size());
    15961593                List<StyleRecord> target = singleThread ? allStyleElems : new ArrayList<StyleRecord>(to - from);
    1597                 tasks.add(new ComputeStyleListWorker(prims, from, to, target, data));
     1594                tasks.add(new ComputeStyleListWorker(prims, from, to, target));
    15981595            }
    15991596            if (singleThread) {
Note: See TracChangeset for help on using the changeset viewer.