Really dumb error in trying to apply a filter

This commit is contained in:
Bradlee Speice 2014-05-05 01:00:34 -04:00
parent 021dbe2b04
commit 053283e3a8

View File

@ -49,7 +49,7 @@ public class FilterUtil {
List<Book> filtered = new ArrayList<Book>();
for (Book b: books) {
if (f.test(b)) {
filtered.add(f);
filtered.add(b);
}
}
return filtered;