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

sonar - remove useless parentheses

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r9969 r9970  
    991991                if (nextKeyIndex == rows[rows.length-1]) {
    992992                    // no gap found, pick next or previous key in list
    993                     nextKeyIndex = (nextKeyIndex + 1 < rowCount ? nextKeyIndex + 1 : rows[0] - 1);
     993                    nextKeyIndex = nextKeyIndex + 1 < rowCount ? nextKeyIndex + 1 : rows[0] - 1;
    994994                } else {
    995995                    // gap found
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java

    r9246 r9970  
    7777                if (!RelationSortUtils.isOneway(m) && lastWct != null) {
    7878                    wct.direction = determineDirection(i-1, lastWct.direction, i);
    79                     wct.linkPrev = (wct.direction != NONE);
     79                    wct.linkPrev = wct.direction != NONE;
    8080                }
    8181            }
Note: See TracChangeset for help on using the changeset viewer.