mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Refactor method call in TextMateServiceImpl
The changes involve the method 'disableBuiltinBundles' inside 'TextMateServiceImpl'. The direct call to the method 'reloadEnabledBundles()' replaces the previous, unnecessary use of 'TextMateService.getInstance().reloadEnabledBundles()'. This refactoring yields cleaner, more readable code. GitOrigin-RevId: ed670cf20a3537260cefc5d7c392dd451dd3bf8e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89b5fc43ec
commit
9002cf5f3c
@@ -360,7 +360,7 @@ public final class TextMateServiceImpl extends TextMateService {
|
||||
@TestOnly
|
||||
public void disableBuiltinBundles(Disposable disposable) {
|
||||
ourBuiltinBundlesDisabled = true;
|
||||
TextMateService.getInstance().reloadEnabledBundles();
|
||||
reloadEnabledBundles();
|
||||
myInitialized = true;
|
||||
Disposer.register(disposable, () -> {
|
||||
ourBuiltinBundlesDisabled = false;
|
||||
|
||||
Reference in New Issue
Block a user