From abed4219e005502cfb33aba970c5a7d46405f00b Mon Sep 17 00:00:00 2001 From: DeepCrimson <98864333+DeepCrimson@users.noreply.github.com> Date: Fri, 3 Jun 2022 12:32:19 -0700 Subject: [PATCH] Replace stream with succinct String.join (#9037) --- .../mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java index 6e5f305af4..4f95073aa0 100644 --- a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java +++ b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java @@ -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)); } }