Changeset 11459 in josm for trunk/src/org


Ignore:
Timestamp:
2017-01-12T02:28:28+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java

    r11452 r11459  
    862862    protected static Color darkerColor(Color in, float adjust) {
    863863
    864         final float r = ((float) in.getRed()/255);
    865         final float g = ((float) in.getGreen()/255);
    866         final float b = ((float) in.getBlue()/255);
     864        final float r = (float) in.getRed()/255;
     865        final float g = (float) in.getGreen()/255;
     866        final float b = (float) in.getBlue()/255;
    867867
    868868        return new Color(r*adjust, g*adjust, b*adjust);
Note: See TracChangeset for help on using the changeset viewer.