Ignore:
Timestamp:
2017-01-12T01:42:44+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION - Performance - Method needlessly boxes a boolean constant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Shortcut.java

    r11397 r11454  
    404404        return shortcuts.stream()
    405405                .map(Shortcut::save)
    406                 .reduce(false, Boolean::logicalOr); // has changed
     406                .reduce(Boolean.FALSE, Boolean::logicalOr); // has changed
    407407    }
    408408
Note: See TracChangeset for help on using the changeset viewer.