diff --git a/JHU-README.md b/JHU-README.md
index 0915260..e18cee2 100644
--- a/JHU-README.md
+++ b/JHU-README.md
@@ -103,7 +103,7 @@ will therefore look like this:
`8675309:policies/e7/3f/26/70/e73f2670-6ef6-4201-bbcd-04631a93d852`
-The `policy.proerties` file will have to be kept up to date if additional funders are assigned policies. A different
+The `policy.properties` file will have to be kept up to date if additional funders are assigned policies. A different
mechanism will be needed to add additional policies, as we require the policies reference in the properties file to be
already present in the system.
@@ -165,4 +165,4 @@ must be filled out accordingly. We also have a command line option -m to pass in
The processing of the ResultSet is straightforward - we simply construct a set of hash maps which represent the
column names and the values for each record. We do not assume that the PASS objects in Fedora are updated
only by this application, as there may be some fields on these objects which are not known to COEUS, but
-may be populated by other applications eventually (for example ORCID on User, Submissions on Grant, or Policy on Funder).
+may be populated by other applications eventually (for example ORCID on User, Submissions on Grant, or Policy on Funder).
\ No newline at end of file
diff --git a/pass-grant-cli/pom.xml b/pass-grant-cli/pom.xml
index 76d24d5..8609c67 100644
--- a/pass-grant-cli/pom.xml
+++ b/pass-grant-cli/pom.xml
@@ -21,7 +21,7 @@
pass-grant-loader
org.dataconservancy.pass
- 1.3.0
+ 1.4.0
4.0.0
diff --git a/pass-grant-cli/src/main/java/org/dataconservancy/pass/grant/cli/BaseGrantLoaderApp.java b/pass-grant-cli/src/main/java/org/dataconservancy/pass/grant/cli/BaseGrantLoaderApp.java
index 35032f8..446af89 100644
--- a/pass-grant-cli/src/main/java/org/dataconservancy/pass/grant/cli/BaseGrantLoaderApp.java
+++ b/pass-grant-cli/src/main/java/org/dataconservancy/pass/grant/cli/BaseGrantLoaderApp.java
@@ -34,6 +34,7 @@
import java.io.OutputStreamWriter;
import java.nio.charset.StandardCharsets;
import java.sql.SQLException;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Properties;
@@ -50,27 +51,28 @@
* use the PassLoader to take {@code List} representing the {@code ResultSet} to push this data into our PASS instance
* via the java pass client.
*
+ *
* A large percentage of the code here is handling exceptional paths, as this is intended to be run in an automated
* fashion, so care must be taken to log errors, report them to STDOUT, and also send email notifications.
*
* @author jrm@jhu.edu
*/
abstract class BaseGrantLoaderApp {
- private static Logger LOG = LoggerFactory.getLogger(BaseGrantLoaderApp.class);
+ private static final Logger LOG = LoggerFactory.getLogger(BaseGrantLoaderApp.class);
private EmailService emailService;
- private File appHome;
+ private final File appHome;
private String startDate;
- private String awardEndDate;
+ private final String awardEndDate;
private File updateTimestampsFile;
- private boolean email;
- private String mode;
- private String action;
- private String dataFileName;
+ private final boolean email;
+ private final String mode;
+ private final String action;
+ private final String dataFileName;
private boolean local = false;
- private boolean timestamp = true;
+ private boolean timestamp = false;
- private String updateTimestampsFileName;
+ private final String updateTimestampsFileName;
/**
* Constructor for this class
@@ -247,7 +249,7 @@ void run() throws PassCliException {
try (FileInputStream fis = new FileInputStream(dataFile);
ObjectInputStream in = new ObjectInputStream(fis)
) {
- resultSet = (List