Changeset 2163 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-09-20T10:23:22+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 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(); -
trunk/src/org/openstreetmap/josm/io/NMEAImporter.java
r2017 r2163 54 54 JOptionPane.INFORMATION_MESSAGE); 55 55 } else { 56 JOptionPane.showMessageDialog(Main.parent, msg, tr("NMEA import fa liure!"), JOptionPane.ERROR_MESSAGE);56 JOptionPane.showMessageDialog(Main.parent, msg, tr("NMEA import failure!"), JOptionPane.ERROR_MESSAGE); 57 57 } 58 58 }
Note:
See TracChangeset
for help on using the changeset viewer.