Ignore:
Timestamp:
2017-12-02T21:06:00+01:00 (6 years ago)
Author:
Don-vip
Message:

fix recent Sonar issues

File:
1 edited

Legend:

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

    r13167 r13186  
    221221            Pair<Integer, Hemisphere> utmZone = TransverseMercator.locateUtmZone(n.getCoor());
    222222            String utmLabel = tr("UTM Zone");
    223             add(utmLabel, utmLabel.endsWith(":") ? " " : ": ", Integer.toString(utmZone.a), utmZone.b.toString().substring(0, 1));
     223            add(utmLabel, utmLabel.endsWith(":") ? " " : ": ", Integer.toString(utmZone.a), utmZone.b.name().substring(0, 1));
    224224        }
    225225    }
Note: See TracChangeset for help on using the changeset viewer.