LinkedList tempExcludedPaths = new LinkedList();
Iterator iterator = excludedPaths.iterator();
while (iterator.hasNext())
{
String path = (String)iterator.next();
VirtualFile file = getVirtualFile(path);
tempExcludedPaths.add(file);
}
excludedPaths = tempExcludedPaths;
}
List<VirtualFile> list = new ArrayList<VirtualFile>(fileSetFromPaths(paths, true, mimeTypes, null, excludedPaths));
for (int i = 0, len = list == null ? 0 : list.size(); i < len; i++)
{
VirtualFile f = list.get(i);
array[(SourceList.calculatePathRoot(f, directories) == null) ? 0 : 1].add(f);
}
for (Iterator<VirtualFile> j = stylesheets.iterator(); j.hasNext(); )
{
VirtualFile f = j.next();
array[(SourceList.calculatePathRoot(f, directories) == null) ? 0 : 1].add(f);
}
return array;
}