Changeset 9065 in josm


Ignore:
Timestamp:
2015-11-28T16:26:56+01:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle

File:
1 edited

Legend:

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

    r9063 r9065  
    458458    /**
    459459     * Worker function for drawing areas.
    460      * 
     460     *
    461461     * @param osm the primitive
    462462     * @param path the path object for the area that should be drawn; in case
     
    470470     * @param unclosedHighlight true, if the fact that the way / multipolygon is not
    471471     * properly closed should be highlighted; this parameter is only used
    472      * for partial fill ({@code extent != null}), otherwise it is ignored 
     472     * for partial fill ({@code extent != null}), otherwise it is ignored
    473473     * @param disabled If this should be drawn with a special disabled style.
    474474     * @param text The text to write on the area.
     
    490490                } else {
    491491                    if (unclosedHighlight) {
    492                         g.setStroke(new BasicStroke((int)(unclosedAreaHighlightWidth / 100 * extent),
     492                        g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent),
    493493                                BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER));
    494494                        g.draw(area);
     
    513513                } else {
    514514                    if (unclosedHighlight) {
    515                         g.setStroke(new BasicStroke((int)(unclosedAreaHighlightWidth / 100 * extent),
     515                        g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent),
    516516                                BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER));
    517517                        g.draw(area);
Note: See TracChangeset for help on using the changeset viewer.