[go: up one dir, main page]

Skip to content

Commit

Permalink
#151: Minor code improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenetics committed Nov 14, 2021
1 parent 161d784 commit 7d51779
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jpx/src/main/java/io/jenetics/jpx/GPX.java
Original file line number Diff line number Diff line change
Expand Up @@ -1619,12 +1619,12 @@ private static String keywords(final GPX gpx) {
.v10(XMLWriter.elem("urlname").map(GPX::urlname))
.v10(XMLWriter.elem("time").map(GPX::time))
.v10(XMLWriter.elem("keywords").map(GPX::keywords))
.v10(XMLWriter.elems(WayPoint.xmlWriter(Version.V10,"wpt", formatter)).map(gpx -> gpx._wayPoints))
.v11(XMLWriter.elems(WayPoint.xmlWriter(Version.V11,"wpt", formatter)).map(gpx -> gpx._wayPoints))
.v10(XMLWriter.elems(Route.xmlWriter(Version.V10, formatter)).map(gpx -> gpx._routes))
.v11(XMLWriter.elems(Route.xmlWriter(Version.V11, formatter)).map(gpx -> gpx._routes))
.v10(XMLWriter.elems(Track.xmlWriter(Version.V10, formatter)).map(gpx -> gpx._tracks))
.v11(XMLWriter.elems(Track.xmlWriter(Version.V11, formatter)).map(gpx -> gpx._tracks))
.v10(XMLWriter.elems(WayPoint.xmlWriter(Version.V10,"wpt", formatter)).map(GPX::getWayPoints))
.v11(XMLWriter.elems(WayPoint.xmlWriter(Version.V11,"wpt", formatter)).map(GPX::getWayPoints))
.v10(XMLWriter.elems(Route.xmlWriter(Version.V10, formatter)).map(GPX::getRoutes))
.v11(XMLWriter.elems(Route.xmlWriter(Version.V11, formatter)).map(GPX::getRoutes))
.v10(XMLWriter.elems(Track.xmlWriter(Version.V10, formatter)).map(GPX::getTracks))
.v11(XMLWriter.elems(Track.xmlWriter(Version.V11, formatter)).map(GPX::getTracks))
.v00(XMLWriter.doc("extensions").map(gpx -> gpx._extensions));
}

Expand Down

0 comments on commit 7d51779

Please sign in to comment.