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/ac/AutoCompletionManager.java

    r11384 r11452  
    9494            }
    9595            final UserInputTag other = (UserInputTag) obj;
    96             return Objects.equals(this.key, other.key)
    97                 && Objects.equals(this.value, other.value)
    98                 && this.defaultKey == other.defaultKey;
     96            return this.defaultKey == other.defaultKey
     97                && Objects.equals(this.key, other.key)
     98                && Objects.equals(this.value, other.value);
    9999        }
    100100    }
Note: See TracChangeset for help on using the changeset viewer.