Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Fix potential NullPointerException in csv and maxmind data adapters #72

Merged
merged 1 commit into from Jul 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -49,7 +49,7 @@ public class MaxmindDataAdapter extends LookupDataAdapter {
public static final String NAME = "maxmind_geoip";
private final Config config;
private final AtomicReference<DatabaseReader> databaseReader = new AtomicReference<>();
private FileInfo fileInfo;
private FileInfo fileInfo = FileInfo.empty();

@Inject
protected MaxmindDataAdapter(@Assisted("id") String id,
Expand Down