Skip to content

Commit

Permalink
Close file reader
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Oct 20, 2023
1 parent 9b9a1b6 commit 85c1908
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class EmailDomainToRorLoader {
private List<List<String>> csvData;
private Set<String> invalidDomains = new HashSet<String>();
private Map<String, DomainToRorMap> map = new HashMap<String, DomainToRorMap>();

private int updatedEntries = 0;
private int createdEntries = 0;

Expand Down Expand Up @@ -75,7 +76,8 @@ private void load(String filePath) throws IOException {
if(r.size() > 1)
csvData.add(r);
}
}
}
fileReader.close();
}

private void processCsvData() {
Expand Down

0 comments on commit 85c1908

Please sign in to comment.