mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge branch 'release-4.5.0' of github.com:sleuthkit/autopsy into release-4.5.0
This commit is contained in:
commit
6fb8f8d611
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user