Make the granularity state protected instead of private.
Subclasses need to be able to access it.
This commit is contained in:
parent
44c9870213
commit
cd67ed44e7
|
|
@ -12,10 +12,10 @@ import crosby.binary.file.FileBlock;
|
||||||
import crosby.binary.file.FileBlockPosition;
|
import crosby.binary.file.FileBlockPosition;
|
||||||
|
|
||||||
public abstract class BinaryParser implements BlockReaderAdapter {
|
public abstract class BinaryParser implements BlockReaderAdapter {
|
||||||
private int granularity;
|
protected int granularity;
|
||||||
private long lat_offset;
|
private long lat_offset;
|
||||||
private long lon_offset;
|
private long lon_offset;
|
||||||
private int date_granularity;
|
protected int date_granularity;
|
||||||
private String strings[];
|
private String strings[];
|
||||||
|
|
||||||
protected Date getDate(Osmformat.Info info) {
|
protected Date getDate(Osmformat.Info info) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue