Changeset 1947 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-08-10T12:46:51+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxWriter.java
r1724 r1947 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.io; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.io.BufferedWriter; … … 235 237 break; 236 238 default: 237 throw new RuntimeException( "Bug detected. Please report this!");239 throw new RuntimeException(tr("Unknown mode {0}.", mode)); 238 240 } 239 241 if (pnt != null) { 240 LatLon c = pnt.getCoor();242 LatLon c = pnt.getCoor(); 241 243 openAtt(type, "lat=\"" + c.lat() + "\" lon=\"" + c.lon() + "\""); 242 244 writeAttr(pnt.attr);
Note:
See TracChangeset
for help on using the changeset viewer.