Changeset 2163 in josm for trunk/src/org/openstreetmap/josm/io/GpxExporter.java
- Timestamp:
- 2009-09-20T10:23:22+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxExporter.java
r2032 r2163 53 53 public void exportData(File file, Layer layer) throws IOException { 54 54 if (layer == null) 55 throw new IllegalArgumentException(tr("parame nter ''{0}'' must not be null", "layer"));55 throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "layer")); 56 56 if (!(layer instanceof OsmDataLayer) && !(layer instanceof GpxLayer)) 57 57 throw new IllegalArgumentException(tr("expected instance of OsmDataLayer or GpxLayer. Got ''{0}''.", layer 58 58 .getClass().getName())); 59 59 if (file == null) 60 throw new IllegalArgumentException(tr("parame nter ''{0}'' must not be null", "file"));60 throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "file")); 61 61 62 62 String fn = file.getPath();
Note:
See TracChangeset
for help on using the changeset viewer.