Ignore:
Timestamp:
2016-06-15T10:30:37+02:00 (9 years ago)
Author:
Don-vip
Message:

Checkstyle 6.19: enable SingleSpaceSeparator and fix violations

Location:
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/LineElement.java

    r10374 r10378  
    9191        BasicStroke myLine = line, myDashLine = dashesLine;
    9292        if (realWidth > 0 && paintSettings.isUseRealWidth() && !showOrientation) {
    93             float myWidth = (int) (100 /  (float) (painter.getCircum() / realWidth));
     93            float myWidth = (int) (100 / (float) (painter.getCircum() / realWidth));
    9494            if (myWidth < line.getLineWidth()) {
    9595                myWidth = line.getLineWidth();
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/MapImage.java

    r9371 r10378  
    211211
    212212    private boolean mustRescale(Image image) {
    213         return autoRescale && width  == -1 && image.getWidth(null) > MAX_SIZE
     213        return autoRescale && width == -1 && image.getWidth(null) > MAX_SIZE
    214214             && height == -1 && image.getHeight(null) > MAX_SIZE;
    215215    }
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java

    r10305 r10378  
    6060                return false;
    6161            final Symbol other = (Symbol) obj;
    62             return  symbol == other.symbol &&
     62            return symbol == other.symbol &&
    6363                    size == other.size &&
    6464                    Objects.equals(stroke, other.stroke) &&
Note: See TracChangeset for help on using the changeset viewer.