Simplify PREDEFINED_PERSISTENT_TYPES instantiation (IJPL-209433)

Following the suggestion in the review IJ-CR-176898.

GitOrigin-RevId: 6cd7a53c32f555689f3fd839ac5f930d68a1ac7e
This commit is contained in:
Alexander Koshevoy
2025-10-06 22:28:40 +00:00
committed by intellij-monorepo-bot
parent b36530f99a
commit a804d4ae2f
@@ -52,7 +52,7 @@ public class OrderRootType {
* {@link #EP_NAME} and are combined with this list in {@link #getAllPersistentTypesList()}.
*/
private static final @NotNull @Unmodifiable List<PersistentOrderRootType> PREDEFINED_PERSISTENT_TYPES =
ContainerUtil.map(List.of(CLASSES, SOURCES), PersistentOrderRootType.class::cast);
List.of((PersistentOrderRootType)CLASSES, (PersistentOrderRootType)SOURCES);
/**
* Generic documentation order root type