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/properties/PropertiesDialog.java

    r11386 r11452  
    12071207                         *  content lengths, so we have to be fuzzy.. (this is UGLY, recode if u know better)
    12081208                         */
    1209                         if (conn.getContentLength() != -1 && osize > -1 && Math.abs(conn.getContentLength() - osize) > 200) {
     1209                        if (osize > -1 && conn.getContentLength() != -1 && Math.abs(conn.getContentLength() - osize) > 200) {
    12101210                            Main.info("{0} is a mediawiki redirect", u);
    12111211                            conn.disconnect();
Note: See TracChangeset for help on using the changeset viewer.