Collection<File> yangFiles = FileUtils.listFiles(new File(rootDir),
new String[] { YANG_SUFFIX }, true);
Collection<File> yangFiles = FileUtils.listFiles(new File(rootDir),
new String[] { YANG_SUFFIX }, true);
- static Collection<InputStream> listFilesAsStream(String rootDir) throws FileNotFoundException {
- Collection<InputStream> is = new ArrayList<InputStream>();
+ static List<InputStream> listFilesAsStream(String rootDir) throws FileNotFoundException {
+ List<InputStream> is = new ArrayList<InputStream>();