mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #4316 from raman-bt/1142-fix-getdatasource
1142: fix DrawableFile.getDataSource()
This commit is contained in:
commit
cf88480658
@ -158,7 +158,7 @@ public abstract class DrawableFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public DataSource getDataSource() throws TskCoreException, TskDataException {
|
public DataSource getDataSource() throws TskCoreException, TskDataException {
|
||||||
return getSleuthkitCase().getDataSource(file.getDataSource().getId());
|
return getSleuthkitCase().getDataSource(file.getDataSourceObjectId());
|
||||||
}
|
}
|
||||||
|
|
||||||
private Pair<DrawableAttribute<?>, Collection<?>> makeAttributeValuePair(DrawableAttribute<?> attribute) {
|
private Pair<DrawableAttribute<?>, Collection<?>> makeAttributeValuePair(DrawableAttribute<?> attribute) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user