From 299311b79d5b882e44e1de40f9617e008c2b30ed Mon Sep 17 00:00:00 2001 From: "Alexander.Kass" Date: Wed, 22 May 2024 08:27:31 +0300 Subject: [PATCH] cleanup GitOrigin-RevId: e4baa7b96f461ff660c81b7bb4320cf83604ae43 --- .../com/intellij/history/integration/IdeaGatewayTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/lvcs-impl/testSrc/com/intellij/history/integration/IdeaGatewayTest.java b/platform/lvcs-impl/testSrc/com/intellij/history/integration/IdeaGatewayTest.java index df237bf99172..9b335cb17cf8 100644 --- a/platform/lvcs-impl/testSrc/com/intellij/history/integration/IdeaGatewayTest.java +++ b/platform/lvcs-impl/testSrc/com/intellij/history/integration/IdeaGatewayTest.java @@ -12,10 +12,7 @@ import org.jetbrains.annotations.NotNull; import java.io.File; import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.List; +import java.util.*; public class IdeaGatewayTest extends IntegrationTestCase { public void testFindingFile() { @@ -150,7 +147,8 @@ public class IdeaGatewayTest extends IntegrationTestCase { public static @NotNull String getAllPaths(@NotNull RootEntry rootEntry) { List result = new ArrayList<>(); printAllPaths(rootEntry, result); - return StringUtil.join(ContainerUtil.sorted(result), "\n"); + result.sort(Comparator.naturalOrder()); + return StringUtil.join(result, "\n"); } private static void printAllPaths(@NotNull Entry parentEntry, @NotNull List result) {