mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
Cleanup
This commit is contained in:
parent
0ea88c0f68
commit
fed52680a9
@ -147,14 +147,14 @@ public class HashDbManager implements PropertyChangeListener {
|
||||
*
|
||||
* @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 = this.addExistingHashDatabaseNoSave(hashSetName, path, searchDuringIngest, sendIngestMessages, knownFilesType);
|
||||
this.save();
|
||||
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;
|
||||
try {
|
||||
if (!new File(path).exists()) {
|
||||
@ -407,7 +407,7 @@ public class HashDbManager implements PropertyChangeListener {
|
||||
*
|
||||
* @return A list, possibly empty, of hash databases.
|
||||
*/
|
||||
public synchronized List<HashDb> getAllHashSets(){
|
||||
public synchronized List<HashDb> getAllHashSets() {
|
||||
try{
|
||||
updateHashSetsFromCentralRepository();
|
||||
} catch (TskCoreException ex){
|
||||
|
Loading…
x
Reference in New Issue
Block a user