diff --git a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/cli/EmailDomainToRorLoader.java b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/cli/EmailDomainToRorLoader.java index 864dc347c59..8037f5d62d0 100644 --- a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/cli/EmailDomainToRorLoader.java +++ b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/cli/EmailDomainToRorLoader.java @@ -32,6 +32,7 @@ public class EmailDomainToRorLoader { private List> csvData; private Set invalidDomains = new HashSet(); private Map map = new HashMap(); + private int updatedEntries = 0; private int createdEntries = 0; @@ -75,7 +76,8 @@ private void load(String filePath) throws IOException { if(r.size() > 1) csvData.add(r); } - } + } + fileReader.close(); } private void processCsvData() {