mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
changed usage of deprecated API
This commit is contained in:
parent
f3da912a57
commit
2ef3bb976a
@ -99,8 +99,8 @@ class SampleDataSourceIngestModule implements DataSourceIngestModule {
|
||||
// Get files by creation time.
|
||||
long currentTime = System.currentTimeMillis() / 1000;
|
||||
long minTime = currentTime - (14 * 24 * 60 * 60); // Go back two weeks.
|
||||
List<FsContent> otherFiles = sleuthkitCase.findFilesWhere("crtime > " + minTime);
|
||||
for (FsContent otherFile : otherFiles) {
|
||||
List<AbstractFile> otherFiles = fileManager.findFiles(dataSource, "crtime > " + minTime);
|
||||
for (AbstractFile otherFile : otherFiles) {
|
||||
if (!skipKnownFiles || otherFile.getKnown() != TskData.FileKnown.KNOWN) {
|
||||
++fileCount;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user