some small tweaks for CardList operations in some AbilityFactory files

This commit is contained in:
jendave
2011-08-07 01:49:21 +00:00
parent a8daea1ca8
commit 34b60869c0
2 changed files with 2 additions and 2 deletions

View File

@@ -928,7 +928,7 @@ public class AbilityFactory_Counters {
}); });
if (AF.getHostCard().getController().isHuman()) { if (AF.getHostCard().getController().isHuman()) {
cperms.addAll(hperms.toArray()); cperms.addAll(hperms);
final CardList unchosen = cperms; final CardList unchosen = cperms;
AllZone.InputControl.setInput(new Input() { AllZone.InputControl.setInput(new Input() {
private static final long serialVersionUID = -1779224307654698954L; private static final long serialVersionUID = -1779224307654698954L;

View File

@@ -357,7 +357,7 @@ public class AbilityFactory_Reveal {
} }
//dump anything not selected from valid back into the rest //dump anything not selected from valid back into the rest
if(!changeAll) rest.addAll(valid.toArray()); if(!changeAll) rest.addAll(valid);
if(rest.contains(dummy)) rest.remove(dummy); if(rest.contains(dummy)) rest.remove(dummy);
//now, move the rest to destZone2 //now, move the rest to destZone2