tests, refactor: removed outdated code

This commit is contained in:
Oleg Agafonov 2024-02-17 20:41:57 +04:00
parent 229e8d3075
commit 1f36a32a6e
6 changed files with 8 additions and 311 deletions

View file

@ -39,7 +39,6 @@ public class PermanentCard extends PermanentImpl {
// runtime check: must use real card only inside
if (card instanceof PermanentCard) {
// TODO: allow?
throw new IllegalArgumentException("Wrong code usage: can't use PermanentCard inside another PermanentCard");
}