Changeset 12338 in josm


Ignore:
Timestamp:
2017-06-08T00:16:49+02:00 (7 years ago)
Author:
michael2402
Message:

Sonar squid:S1125 - simplify condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapMover.java

    r12317 r12338  
    170170        if (Main.isPlatformOsx()) {
    171171            int macMouseMask = MouseEvent.CTRL_DOWN_MASK | MouseEvent.BUTTON1_DOWN_MASK;
    172             boolean macMovement = true && e.getModifiersEx() == macMouseMask;
     172            boolean macMovement = e.getModifiersEx() == macMouseMask;
    173173            boolean allowedMode = !Main.map.mapModeSelect.equals(Main.map.mapMode)
    174174                              || SelectAction.Mode.SELECT.equals(Main.map.mapModeSelect.getMode());
Note: See TracChangeset for help on using the changeset viewer.