Changeset 12561 in josm for trunk/test/unit


Ignore:
Timestamp:
2017-08-02T23:17:16+02:00 (7 years ago)
Author:
Don-vip
Message:

deprecate LatLon.dms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/ExifReaderTest.java

    r11745 r12561  
    104104        assertNotNull(latlon);
    105105        DecimalFormat f = new DecimalFormat("00.0");
    106         assertEquals("51°46'"+f.format(43.0)+"\"", LatLon.dms(latlon.lat()));
    107         assertEquals("8°21'"+f.format(56.3)+"\"", LatLon.dms(latlon.lon()));
     106        assertEquals("51°46'"+f.format(43.0)+"\"", LatLon.degreesMinutesSeconds(latlon.lat()));
     107        assertEquals("8°21'"+f.format(56.3)+"\"", LatLon.degreesMinutesSeconds(latlon.lon()));
    108108    }
    109109
Note: See TracChangeset for help on using the changeset viewer.