Make the granularity state protected instead of private.

Subclasses need to be able to access it.
This commit is contained in:
Scott Crosby 2010-09-01 15:14:31 -05:00
parent 44c9870213
commit cd67ed44e7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {