Changeset 35636 in osm for applications/editors


Ignore:
Timestamp:
2020-10-30T10:05:13+01:00 (4 years ago)
Author:
GerdP
Message:

fix some javadoc/sonarlint issues

Location:
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java

    r35634 r35636  
    5252    protected class PbfParser extends BinaryParser {
    5353
    54         private IllegalDataException exception = null;
     54        private IllegalDataException exception;
    5555        private boolean discourageUpload;
    5656        private double parseRawDegrees(long raw) {
     
    318318     *
    319319     * @param source the source input stream. Must not be null.
    320      * @param progressMonitor  the progress monitor. If null, {@see NullProgressMonitor#INSTANCE} is assumed
     320     * @param progressMonitor  the progress monitor. If null, {link NullProgressMonitor#INSTANCE} is assumed
    321321     *
    322322     * @return the dataset with the parsed data
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java

    r35634 r35636  
    5353
    5454        /** Has the header been written yet? */
    55         protected boolean headerWritten = false;
     55        protected boolean headerWritten;
    5656
    5757        /**
     
    171171            /**
    172172             * Serialize all nodes in the 'dense' format.
     173             * @return a group of primitives
    173174             */
    174175            public Osmformat.PrimitiveGroup serializeDense() {
     
    223224            /**
    224225             * Serialize all nodes in the non-dense format.
     226             * @return a group of primitives
    225227             */
    226228            public Osmformat.PrimitiveGroup serializeNonDense() {
     
    432434                relations = null;
    433435            } else {
    434                 return; // No data. Is this an empty file?
     436                // No data. Is this an empty file?
    435437            }
    436438        }
Note: See TracChangeset for help on using the changeset viewer.