Ignore:
Timestamp:
2016-03-12T23:18:04+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - remove useless parentheses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ModifiersSpec.java

    r8870 r9970  
    2525        char c = str.charAt(2);
    2626        // @formatter:off
    27         alt   = (a == '?' ? UNKNOWN : (a == 'A' ? ON : OFF));
    28         shift = (s == '?' ? UNKNOWN : (s == 'S' ? ON : OFF));
    29         ctrl  = (c == '?' ? UNKNOWN : (c == 'C' ? ON : OFF));
     27        alt   = a == '?' ? UNKNOWN : (a == 'A' ? ON : OFF);
     28        shift = s == '?' ? UNKNOWN : (s == 'S' ? ON : OFF);
     29        ctrl  = c == '?' ? UNKNOWN : (c == 'C' ? ON : OFF);
    3030        // @formatter:on
    3131    }
Note: See TracChangeset for help on using the changeset viewer.