Changeset 12122 in josm


Ignore:
Timestamp:
2017-05-11T21:13:33+02:00 (6 months ago)
Author:
Don-vip
Message:

sonar - squid:S2178

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java

    r11601 r12122  
    405405        boolean changed = false;
    406406        for (Object o : objects) {
    407             changed = changed | remove(o);
     407            changed |= remove(o);
    408408        }
    409409        return changed;
     
    414414        boolean changed = false;
    415415        for (T o : objects) {
    416             changed = changed | this.add(o);
     416            changed |= add(o);
    417417        }
    418418        return changed;
  • trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java

    r11893 r12122  
    153153                        disabledAndHiddenCount--;
    154154                    }
    155                     changed = changed | FilterWorker.executeFilters(primitive, filterMatcher);
     155                    changed |= FilterWorker.executeFilters(primitive, filterMatcher);
    156156                    if (primitive.isDisabled()) {
    157157                        disabledCount++;
Note: See TracChangeset for help on using the changeset viewer.