mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Cleanup
This commit is contained in:
parent
0ea88c0f68
commit
fed52680a9
@ -147,14 +147,14 @@ public class HashDbManager implements PropertyChangeListener {
|
|||||||
*
|
*
|
||||||
* @throws HashDbManagerException
|
* @throws HashDbManagerException
|
||||||
*/
|
*/
|
||||||
public synchronized HashDb addExistingHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDatabase.KnownFilesType knownFilesType) throws HashDbManagerException {
|
public synchronized HashDb addExistingHashDatabase(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDb.KnownFilesType knownFilesType) throws HashDbManagerException {
|
||||||
HashDb hashDb = null;
|
HashDb hashDb = null;
|
||||||
hashDb = this.addExistingHashDatabaseNoSave(hashSetName, path, searchDuringIngest, sendIngestMessages, knownFilesType);
|
hashDb = this.addExistingHashDatabaseNoSave(hashSetName, path, searchDuringIngest, sendIngestMessages, knownFilesType);
|
||||||
this.save();
|
this.save();
|
||||||
return hashDb;
|
return hashDb;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized HashDb addExistingHashDatabaseNoSave(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDatabase.KnownFilesType knownFilesType) throws HashDbManagerException {
|
synchronized HashDb addExistingHashDatabaseNoSave(String hashSetName, String path, boolean searchDuringIngest, boolean sendIngestMessages, HashDb.KnownFilesType knownFilesType) throws HashDbManagerException {
|
||||||
HashDb hashDb = null;
|
HashDb hashDb = null;
|
||||||
try {
|
try {
|
||||||
if (!new File(path).exists()) {
|
if (!new File(path).exists()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user