Ignore:
Timestamp:
2014-02-24T17:49:12+01:00 (11 years ago)
Author:
Don-vip
Message:

javadoc/code style/minor refactorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmChangeReader.java

    r5927 r6881  
    1414import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1515
     16/**
     17 * Reader for <a href="http://wiki.openstreetmap.org/wiki/OsmChange">OsmChange</a> file format.
     18 */
    1619public class OsmChangeReader extends OsmReader {
    1720
     21    /**
     22     * List of possible actions.
     23     */
    1824    public static final String[] ACTIONS = {"create", "modify", "delete"};
    19    
     25
    2026    /**
    2127     * constructor (for private and subclasses use only)
     
    2531    protected OsmChangeReader() {
    2632    }
    27    
    28     /* (non-Javadoc)
    29      * @see org.openstreetmap.josm.io.OsmReader#parseRoot()
    30      */
     33
    3134    @Override
    3235    protected void parseRoot() throws XMLStreamException {
     
    4346            throwException(tr("Missing mandatory attribute ''{0}''.", "version"));
    4447        }
    45         if (!v.equals("0.6")) {
     48        if (!"0.6".equals(v)) {
    4649            throwException(tr("Unsupported version: {0}", v));
    4750        }
     
    8790        }
    8891    }
    89    
     92
    9093    /**
    9194     * Parse the given input source and return the dataset.
Note: See TracChangeset for help on using the changeset viewer.