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/dialogs/InspectPrimitiveDialog.java

    r11177 r11452  
    159159                txtMappaint.append(tr("The 2 selected objects have different style caches."));
    160160            }
    161             if (sc1.equals(sc2) && sc1 != sc2) {
     161            if (sc1 != sc2 && sc1.equals(sc2)) {
    162162                txtMappaint.append(tr("Warning: The 2 selected objects have equal, but not identical style caches."));
    163163            }
Note: See TracChangeset for help on using the changeset viewer.