ret.add(profile);
}
}
}
}
<BUG>return ret.toArray(new Profile[ret.size()]);
}</BUG>
private static File findProfileYaml(File directory) {
for (String profileFile : PROFILE_FILENAMES) {
File ret = new File(directory, String.format(profileFile, ""));

ret.add(profile);
}
}
}
}
return ret;
}
private static File findProfileYaml(File directory) {
for (String profileFile : PROFILE_FILENAMES) {
File ret = new File(directory, String.format(profileFile, ""));
