Changeset 15884 in josm for trunk/src/org


Ignore:
Timestamp:
2020-02-18T21:56:47+01:00 (5 years ago)
Author:
simon04
Message:

see #9599 - https://errorprone.info/bugpattern/OperatorPrecedence

File:
1 edited

Legend:

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

    r15883 r15884  
    14471447        for (WayInPolygon way : ways) {
    14481448            actionWays.add(way.way);
    1449             if (oldest.isNew() || !way.way.isNew() && oldest.getUniqueId() > way.way.getUniqueId()) {
     1449            if (oldest.isNew() || (!way.way.isNew() && oldest.getUniqueId() > way.way.getUniqueId())) {
    14501450                oldest = way.way;
    14511451                oldestPos = actionWays.size() - 1;
Note: See TracChangeset for help on using the changeset viewer.