Merge branch 'release-4.5.0' of github.com:sleuthkit/autopsy into release-4.5.0

This commit is contained in:
Richard Cordovano 2017-09-19 12:43:52 -04:00
commit 6fb8f8d611
2 changed files with 1 additions and 6 deletions

View File

@ -465,7 +465,7 @@ public final class AutoIngestJob implements Comparable<AutoIngestJob>, Serializa
@Override
public int hashCode() {
int hash = 71 * (Objects.hashCode(this.caseDirectoryPath));
int hash = 71 * (Objects.hashCode(this.getManifest().getFilePath()));
return hash;
}

View File

@ -139,8 +139,6 @@ public final class AutoIngestMonitor extends Observable implements PropertyChang
*/
private void handleJobStartedEvent(AutoIngestJobStartedEvent event) {
synchronized (jobsLock) {
// DLG: TEST! Remove job from pending queue, if present
// DLG: TEST! Add job to running jobs list
jobsSnapshot.removePendingJob(event.getJob());
jobsSnapshot.addOrReplaceRunningJob(event.getJob());
setChanged();
@ -155,7 +153,6 @@ public final class AutoIngestMonitor extends Observable implements PropertyChang
*/
private void handleJobStatusEvent(AutoIngestJobStatusEvent event) {
synchronized (jobsLock) {
// DLG: TEST! Replace job in running list with job from event
jobsSnapshot.addOrReplaceRunningJob(event.getJob());
setChanged();
notifyObservers(null);
@ -169,8 +166,6 @@ public final class AutoIngestMonitor extends Observable implements PropertyChang
*/
private void handleJobCompletedEvent(AutoIngestJobCompletedEvent event) {
synchronized (jobsLock) {
// DLG: TEST! Remove job from event from running list, if present
// DLG: TEST! Add job to completed list
jobsSnapshot.removeRunningJob(event.getJob());
jobsSnapshot.addOrReplaceCompletedJob(event.getJob());
setChanged();