Changeset 11819 in josm


Ignore:
Timestamp:
2017-04-01T17:30:00+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S1172 - Unused method parameters should be removed

File:
1 edited

Legend:

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

    r11779 r11819  
    363363     * Worker function for drawing areas.
    364364     *
    365      * @param osm the primitive
    366365     * @param path the path object for the area that should be drawn; in case
    367366     * of multipolygons, this can path can be a complex shape with one outer
     
    377376     * @param text Ignored. Use {@link #drawText(OsmPrimitive, TextLabel)} instead.
    378377     */
    379     protected void drawArea(OsmPrimitive osm, MapViewPath path, Color color,
     378    protected void drawArea(MapViewPath path, Color color,
    380379            MapImage fillImage, Float extent, Path2D.Double pfClip, boolean disabled, TextLabel text) {
    381380        if (!isOutlineOnly && color.getAlpha() != 0) {
     
    458457                    }
    459458                }
    460                 drawArea(r, p,
     459                drawArea(p,
    461460                        pd.isSelected() ? paintSettings.getRelationSelectedColor(color.getAlpha()) : color,
    462461                        fillImage, extent, pfClip, disabled, text);
     
    487486            }
    488487        }
    489         drawArea(w, getPath(w), color, fillImage, extent, pfClip, disabled, text);
     488        drawArea(getPath(w), color, fillImage, extent, pfClip, disabled, text);
    490489    }
    491490
Note: See TracChangeset for help on using the changeset viewer.