Changeset 6881 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2014-02-24T17:49:12+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmChangeReader.java
r5927 r6881 14 14 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 15 15 16 /** 17 * Reader for <a href="http://wiki.openstreetmap.org/wiki/OsmChange">OsmChange</a> file format. 18 */ 16 19 public class OsmChangeReader extends OsmReader { 17 20 21 /** 22 * List of possible actions. 23 */ 18 24 public static final String[] ACTIONS = {"create", "modify", "delete"}; 19 25 20 26 /** 21 27 * constructor (for private and subclasses use only) … … 25 31 protected OsmChangeReader() { 26 32 } 27 28 /* (non-Javadoc) 29 * @see org.openstreetmap.josm.io.OsmReader#parseRoot() 30 */ 33 31 34 @Override 32 35 protected void parseRoot() throws XMLStreamException { … … 43 46 throwException(tr("Missing mandatory attribute ''{0}''.", "version")); 44 47 } 45 if (! v.equals("0.6")) {48 if (!"0.6".equals(v)) { 46 49 throwException(tr("Unsupported version: {0}", v)); 47 50 } … … 87 90 } 88 91 } 89 92 90 93 /** 91 94 * Parse the given input source and return the dataset.
Note:
See TracChangeset
for help on using the changeset viewer.