RecordFileDownloader re-downloads same files over and over
The hash map in ApplicationStatus.java isn't static so when it's used by several classes, changes made by one don't propagate to the other. As a result, RecordFileDownloader and Downloader were managing two separate hash maps.
diff --git a/src/main/java/com/hedera/databaseUtilities/ApplicationStatus.java b/src/main/java/com/hedera/databaseUtilities/ApplicationStatus.java
index 8d2847feb..30eab5987 100644
--- a/src/main/java/com/hedera/databaseUtilities/ApplicationStatus.java
+++ b/src/main/java/com/hedera/databaseUtilities/ApplicationStatus.java
@@ -22,7 +22,7 @@ public class ApplicationStatus {
 		,LAST_PROCESSED_RECORD_HASH
 	}
 	
-	private ConcurrentHashMap<ApplicationStatusCode, String> applicationStatusMap = new ConcurrentHashMap<ApplicationStatusCode, String>();
+	private static ConcurrentHashMap<ApplicationStatusCode, String> applicationStatusMap = new ConcurrentHashMap<ApplicationStatusCode, String>();
 	
 	private static final String updateSQL = "UPDATE t_application_status SET "
 			+ " status_value = ? "
diff --git a/src/main/java/com/hedera/parser/RecordFileParser.java b/src/main/java/com/hedera/parser/RecordFileParser.java
index 08217bf20..c575e4750 100644
--- a/src/main/java/com/hedera/parser/RecordFileParser.java
+++ b/src/main/java/com/hedera/parser/RecordFileParser.java
@@ -8,6 +8,7 @@ import java.security.MessageDigest;
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
+import java.util.concurrent.TimeUnit;
 import java.util.stream.Collectors;
 
 import com.google.common.base.Stopwatch;
['src/main/java/com/hedera/databaseUtilities/ApplicationStatus.java', 'src/main/java/com/hedera/parser/RecordFileParser.java']