Ignore:
Timestamp:
2019-04-07T07:11:41+02:00 (7 years ago)
Author:
gerdp
Message:

fix SonarLint/javadoc issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/poly/src/poly/PolyImporter.java

    r34860 r34965  
    9393                parsingSection = false;
    9494                name = null;
    95             } else if (line.equals("END")) {
     95            } else if ("END".equals(line)) {
    9696                if (!parsingSection) {
    9797                    area = null;
     
    238238        }
    239239
     240        /**
     241         * Store a coordinate
     242         * @param node the coordinate
     243         */
    240244        public void addNode(LatLon node) {
    241245            if (nodes.isEmpty() || !(nodes.get(nodes.size()-1).equals(node) || nodes.get(0).equals(node)))
     
    255259        }
    256260
     261        /**
     262         * Convert a ring to an OSM way
     263         * @param ds the dataset in which the way is stored
     264         * @param isMultipolygon true means the way is part of a multipolygon relation
     265         */
    257266        public void constructWay(DataSet ds, boolean isMultipolygon) {
    258267            way = new Way();
Note: See TracChangeset for help on using the changeset viewer.