replace deprecated API methods

This commit is contained in:
marhali 2022-12-17 15:46:24 +01:00
parent 60fc19c680
commit d9781566c0
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
### Changed
- Dropped support for IDE versions older than 2022.2
- Updated dependencies
- Removed deprecated API access (TranslatorToolWindowFactory)
### Fixed
- Broken badge link in README

View File

@ -28,7 +28,7 @@ public class TranslatorToolWindowFactory implements ToolWindowFactory, DumbAware
@Override
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
InstanceManager manager = InstanceManager.get(project);
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
ContentFactory contentFactory = ContentFactory.getInstance();
// Translations tree view
TreeView treeView = new TreeView(project);