2197 fixed unchecked conversion in getIngestProfiles

This commit is contained in:
William Schaefer 2017-02-14 16:44:54 -05:00
parent 064df7fedf
commit 8cb855e39e

View File

@ -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];