Changeset 9405 in josm for trunk/src/org


Ignore:
Timestamp:
2016-01-11T03:16:46+01:00 (9 years ago)
Author:
Don-vip
Message:

findbugs - fix RpC: Repeated conditional test (typo from r9118)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r9243 r9405  
    439439        LatLon ll1 = getLatLon(width / 2 - 50, height / 2);
    440440        LatLon ll2 = getLatLon(width / 2 + 50, height / 2);
    441         if (ll1.isValid() && ll1.isValid() && b.contains(ll1) && b.contains(ll2)) {
     441        if (ll1.isValid() && ll2.isValid() && b.contains(ll1) && b.contains(ll2)) {
    442442            double d_m = ll1.greatCircleDistance(ll2);
    443443            double d_en = 100 * scale;
Note: See TracChangeset for help on using the changeset viewer.