mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Simplify PREDEFINED_PERSISTENT_TYPES instantiation (IJPL-209433)
Following the suggestion in the review IJ-CR-176898. GitOrigin-RevId: 6cd7a53c32f555689f3fd839ac5f930d68a1ac7e
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user