return projectDiffs.toArray();
Glob glob = new Glob(filter);
List<ProjectDiff> filtered = new ArrayList<ProjectDiff>();
for (ProjectDiff diff : projectDiffs) {
if (glob.matcher(diff.getProject().getName()).matches()) {
filtered.add(diff);
}
}
return filtered.toArray();
}