private static List<String> getPathsInProgramFiles(final String childPath) { return Stream.of(getProgramFilesPath(), getProgramFiles86Path()) .map(parent -> new File(parent, childPath).getAbsolutePath()) .collect(Collectors.toList()); }
private static List<String> getPathsInProgramFiles(final String childPath) { return Stream.of(getProgramFilesPath(), getProgramFiles86Path()) .map(parent -> new File(parent, childPath).getAbsolutePath()) .collect(Collectors.toList()); }