mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Replace stream with succinct String.join (#9037)
This commit is contained in:
parent
ef5bd74f27
commit
abed4219e0
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
|
|||
CardScanner.scan(errorsList);
|
||||
|
||||
if (errorsList.size() > 0) {
|
||||
Assert.fail("Found errors on card loading: " + '\n' + errorsList.stream().collect(Collectors.joining("\n")));
|
||||
Assert.fail("Found errors on card loading: " + '\n' + String.join("\n", errorsList));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue