mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Mark getAllTypes() and getAllPersistentTypes() methods of OrderRootType class as obsolete (IJPL-209433)
Following the suggestion in the review IJ-CR-176898. GitOrigin-RevId: bc36ceb98fcc150fd0202ce6208fd7e38ff36a62
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a804d4ae2f
commit
db657745ad
@@ -89,10 +89,22 @@ public class OrderRootType {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* <h3>Obsolescence notice</h3>
|
||||
* Returns the same elements as {@link #getAllPersistentTypesList()}, but as an array.
|
||||
* Kept for compatibility; prefer {@link #getAllPersistentTypesList()}.
|
||||
*/
|
||||
@ApiStatus.Obsolete
|
||||
public static OrderRootType @NotNull [] getAllTypes() {
|
||||
return getAllPersistentTypes();
|
||||
}
|
||||
|
||||
/**
|
||||
* <h3>Obsolescence notice</h3>
|
||||
* Returns the same elements as {@link #getAllPersistentTypesList()}, but as an array.
|
||||
* Kept for compatibility; prefer {@link #getAllPersistentTypesList()}.
|
||||
*/
|
||||
@ApiStatus.Obsolete
|
||||
public static PersistentOrderRootType @NotNull [] getAllPersistentTypes() {
|
||||
return getAllPersistentTypesList().toArray(new PersistentOrderRootType[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user