Ignore:
Timestamp:
2013-10-27T04:06:10+01:00 (10 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - Format string should use %n rather than \n

File:
1 edited

Legend:

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

    r6203 r6334  
    6666        out.println("<?xml version='1.0' encoding='UTF-8'?>");
    6767        out.println("<gpx version=\"1.1\" creator=\"JOSM GPX export\" xmlns=\"http://www.topografix.com/GPX/1/1\"\n" +
    68                 (hasExtensions ? String.format("    xmlns:josm=\"%s\"\n", JOSM_EXTENSIONS_NAMESPACE_URI) : "") +
     68                (hasExtensions ? String.format("    xmlns:josm=\"%s\"%n", JOSM_EXTENSIONS_NAMESPACE_URI) : "") +
    6969                "    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" +
    7070                "    xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd\">");
Note: See TracChangeset for help on using the changeset viewer.