mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-28 21:39:52 +00:00
Synchronized necessary methods in HashDbManager.
This commit is contained in:
@@ -138,7 +138,7 @@ public class HashDbManager implements PropertyChangeListener {
|
||||
*
|
||||
* @throws HashDbManagerException
|
||||
*/
|
||||
public HashDb addExistingHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDb.KnownFilesType knownFilesType) throws HashDbManagerException {
|
||||
public synchronized HashDb addExistingHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDb.KnownFilesType knownFilesType) throws HashDbManagerException {
|
||||
HashDb hashDb = null;
|
||||
try {
|
||||
if (!new File(path).exists()) {
|
||||
@@ -188,7 +188,7 @@ public class HashDbManager implements PropertyChangeListener {
|
||||
*
|
||||
* @throws HashDbManagerException
|
||||
*/
|
||||
public HashDb addNewHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages,
|
||||
public synchronized HashDb addNewHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages,
|
||||
HashDb.KnownFilesType knownFilesType) throws HashDbManagerException {
|
||||
|
||||
HashDb hashDb = null;
|
||||
|
||||
Reference in New Issue
Block a user