mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
2197 fixed unchecked conversion in getIngestProfiles
This commit is contained in:
parent
064df7fedf
commit
8cb855e39e
@ -47,7 +47,7 @@ public final class IngestProfiles {
|
||||
public synchronized static List<IngestProfile> getIngestProfiles() {
|
||||
File dir = Paths.get(PlatformUtil.getUserConfigDirectory(), PROFILE_FOLDER).toFile();
|
||||
File[] directoryListing = dir.listFiles();
|
||||
List profileList = new ArrayList<>();
|
||||
List<IngestProfile> profileList = new ArrayList<>();
|
||||
if (directoryListing != null) {
|
||||
for (File child : directoryListing) {
|
||||
String name = child.getName().split("\\.")[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user