Changeset 15398 in josm


Ignore:
Timestamp:
2019-10-01T00:38:23+02:00 (6 weeks ago)
Author:
Don-vip
Message:

fix unit tests and javadoc

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java

    r15397 r15398  
    710710    * Returns minimum and maximum timestamps for all tracks
    711711    * Warning: there are lot of track with broken timestamps,
    712     * so we just ingore points from future and from year before 1970 in this method
    713     * works correctly @since 5815
     712    * so we just ignore points from future and from year before 1970 in this method
    714713    * @return minimum and maximum dates in array of 2 elements
     714    * @since 7319
    715715    */
    716716    public synchronized Date[] getMinMaxTimeForAllTracks() {
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java

    r15396 r15398  
    1616import javax.swing.JScrollPane;
    1717
    18 import org.junit.BeforeClass;
     18import org.junit.Before;
    1919import org.junit.Rule;
    2020import org.junit.Test;
     
    4848     * Setup test
    4949     */
    50     @BeforeClass
    51     public static void beforeClass() {
     50    @Before
     51    public void before() {
    5252        // Make sure we don't rely on a specific country, for distance units
    5353        Locale.setDefault(Locale.ENGLISH);
Note: See TracChangeset for help on using the changeset viewer.