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

sonar - fb-contrib:SEO_SUBOPTIMAL_EXPRESSION_ORDER - Performance - Method orders expressions in a conditional in a sub optimal way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Check.java

    r9665 r11452  
    9292    public void addCommands(List<Tag> changedTags) {
    9393        // if the user hasn't changed anything, don't create a command.
    94         if (check.getState() == initialState && def == null) return;
     94        if (def == null && check.getState() == initialState) return;
    9595
    9696        // otherwise change things according to the selected value.
Note: See TracChangeset for help on using the changeset viewer.