mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
Minor tweak.
This commit is contained in:
parent
ac68f48669
commit
2cd3be0c20
@ -2592,12 +2592,12 @@ final class AutoIngestManager extends Observable implements PropertyChangeListen
|
|||||||
*/
|
*/
|
||||||
List<Content> contentList = dataSource.getContent();
|
List<Content> contentList = dataSource.getContent();
|
||||||
long dataSourceSize = 0;
|
long dataSourceSize = 0;
|
||||||
for (Content content : contentList) {
|
try {
|
||||||
try {
|
for (Content content : contentList) {
|
||||||
dataSourceSize += ((DataSource) content).getContentSize(caseDb);
|
dataSourceSize += ((DataSource) content).getContentSize(caseDb);
|
||||||
} catch (TskCoreException ex) {
|
|
||||||
throw new JobMetricsCollectionException("Unable to get the data content size.", ex);
|
|
||||||
}
|
}
|
||||||
|
} catch (TskCoreException ex) {
|
||||||
|
throw new JobMetricsCollectionException("Unable to get the data content size.", ex);
|
||||||
}
|
}
|
||||||
currentJob.setDataSourceSize(dataSourceSize);
|
currentJob.setDataSourceSize(dataSourceSize);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user