mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
Fix broken API. Add old method to repair PHP plugin.
This commit is contained in:
@@ -34,6 +34,10 @@ public class CollectionListModel<T> extends AbstractListModel implements Editabl
|
||||
myItems = new ArrayList<T>(items);
|
||||
}
|
||||
|
||||
public CollectionListModel(@NotNull final List<? extends T> items) {
|
||||
this((Collection<? extends T>)items);
|
||||
}
|
||||
|
||||
public CollectionListModel(final T... items) {
|
||||
myItems = ContainerUtilRt.newArrayList(items);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user