Skip to content

Commit

Permalink
Avoid NPE when shape file is accessed before download.
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Sep 19, 2024
1 parent c3d5045 commit addcead
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public final class TrafficHandler implements ITrafficHandler, Managed {
private final NdwClient ndwClient;
private final MeasurementCache measurementCache;
private final ShapeFileDownloader shapeFileDownloader;
private FeatureCollection shapeFile;

private FeatureCollection shapeFile = new FeatureCollection();

public TrafficHandler(VerkeersDrukteAppConfig config) {
ndwClient = NdwClient.create(config.getNdwConfig());
Expand Down

0 comments on commit addcead

Please sign in to comment.