Changeset 35636 in osm for applications/editors
- Timestamp:
- 2020-10-30T10:05:13+01:00 (4 years ago)
- 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 52 52 protected class PbfParser extends BinaryParser { 53 53 54 private IllegalDataException exception = null;54 private IllegalDataException exception; 55 55 private boolean discourageUpload; 56 56 private double parseRawDegrees(long raw) { … … 318 318 * 319 319 * @param source the source input stream. Must not be null. 320 * @param progressMonitor the progress monitor. If null, { @seeNullProgressMonitor#INSTANCE} is assumed320 * @param progressMonitor the progress monitor. If null, {link NullProgressMonitor#INSTANCE} is assumed 321 321 * 322 322 * @return the dataset with the parsed data -
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java
r35634 r35636 53 53 54 54 /** Has the header been written yet? */ 55 protected boolean headerWritten = false;55 protected boolean headerWritten; 56 56 57 57 /** … … 171 171 /** 172 172 * Serialize all nodes in the 'dense' format. 173 * @return a group of primitives 173 174 */ 174 175 public Osmformat.PrimitiveGroup serializeDense() { … … 223 224 /** 224 225 * Serialize all nodes in the non-dense format. 226 * @return a group of primitives 225 227 */ 226 228 public Osmformat.PrimitiveGroup serializeNonDense() { … … 432 434 relations = null; 433 435 } else { 434 return;// No data. Is this an empty file?436 // No data. Is this an empty file? 435 437 } 436 438 }
Note:
See TracChangeset
for help on using the changeset viewer.