Predicate: isTrue renamed to apply, this class now implements com.google.common.base.Predicate (Guava iterables may use them now)

This commit is contained in:
Maxmtg
2012-09-25 20:03:24 +00:00
parent 3cd9c4ae78
commit 6c185b4b12
45 changed files with 271 additions and 269 deletions

View File

@@ -372,7 +372,7 @@ public class PhaseUtil {
list = list.filter(new Predicate<Card>() {
@Override
public boolean isTrue(final Card c) {
public boolean apply(final Card c) {
return !c.getDamageHistory().getCreatureBlockedThisCombat();
}
});