Ignore:
Timestamp:
2018-08-04T01:59:46+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16010 - Ignore tests using JMockit on Java 11+, workaround to https://github.com/jmockit/jmockit1/issues/534

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxWriter.java

    r14075 r14081  
    99import java.io.PrintWriter;
    1010import java.nio.charset.StandardCharsets;
     11import java.text.DateFormat;
    1112import java.util.Collection;
    1213import java.util.Date;
     
    3536 */
    3637public class GpxWriter extends XmlWriter implements GpxConstants {
     38
     39    private final DateFormat gpxFormat = DateUtils.getGpxFormat();
    3740
    3841    /**
     
    117120                    Object val = obj.get(key);
    118121                    if (val instanceof Date) {
    119                         simpleTag(key, DateUtils.getGpxFormat().format(val));
     122                        simpleTag(key, gpxFormat.format(val));
    120123                    }
    121124                }
Note: See TracChangeset for help on using the changeset viewer.