GitOrigin-RevId: e4baa7b96f461ff660c81b7bb4320cf83604ae43
This commit is contained in:
Alexander.Kass
2024-05-22 08:27:31 +03:00
committed by intellij-monorepo-bot
parent e212c7f0ae
commit 299311b79d

View File

@@ -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<String> 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<String> result) {