Skip to content

Commit 4482b8a

Browse files
committed
Change visibility in OSMReader
1 parent 4e901f0 commit 4482b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reader-osm/src/main/java/com/graphhopper/reader/osm/OSMReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public class OSMReader implements DataReader, TurnCostParser.ExternalInternalMap
106106
// negative but increasing to avoid clash with custom created OSM files
107107
private long newUniqueOsmId = -Long.MAX_VALUE;
108108
private ElevationProvider eleProvider = ElevationProvider.NOOP;
109-
private File osmFile;
109+
protected File osmFile;
110110
private Date osmDataDate;
111111
private final IntsRef tempRelFlags;
112112
private final TurnCostStorage tcs;
@@ -444,7 +444,7 @@ public int getInternalNodeIdOfOsmNode(long nodeOsmId) {
444444
}
445445

446446
// TODO remove this ugly stuff via better preprocessing phase! E.g. putting every tags etc into a helper file!
447-
double getTmpLatitude(int id) {
447+
protected double getTmpLatitude(int id) {
448448
if (id == EMPTY_NODE)
449449
return Double.NaN;
450450
if (id < TOWER_NODE) {
@@ -460,7 +460,7 @@ public int getInternalNodeIdOfOsmNode(long nodeOsmId) {
460460
return Double.NaN;
461461
}
462462

463-
double getTmpLongitude(int id) {
463+
protected double getTmpLongitude(int id) {
464464
if (id == EMPTY_NODE)
465465
return Double.NaN;
466466
if (id < TOWER_NODE) {

0 commit comments

Comments
 (0)