Skip to content

Commit

Permalink
Resolve merge artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 28, 2025
1 parent 1637f5a commit cc633fa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class DefaultOsmProvider implements OsmProvider {

private final OsmTagMapper osmTagMapper;

private final boolean includeSubwayEntrances;
private final WayPropertySet wayPropertySet;
private byte[] cachedBytes = null;

Expand All @@ -46,6 +47,7 @@ public DefaultOsmProvider(File file, boolean cacheDataInMem) {
new FileDataSource(file, FileType.OSM),
OsmTagMapperSource.DEFAULT,
null,
false,
cacheDataInMem,
DataImportIssueStore.NOOP
);
Expand All @@ -55,12 +57,14 @@ public DefaultOsmProvider(
DataSource dataSource,
OsmTagMapperSource tagMapperSource,
ZoneId zoneId,
boolean includeSubwayEntrances,
boolean cacheDataInMem,
DataImportIssueStore issueStore
) {
this.source = dataSource;
this.zoneId = zoneId;
this.osmTagMapper = tagMapperSource.getInstance();
this.includeSubwayEntrances = includeSubwayEntrances;
this.wayPropertySet = new WayPropertySet(issueStore);
osmTagMapper.populateProperties(wayPropertySet);
this.cacheDataInMem = cacheDataInMem;
Expand Down

0 comments on commit cc633fa

Please sign in to comment.