File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/symbols Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -192,11 +192,12 @@ protected IStatus validateItem(Object item) {
192192
193193 @ Override
194194 protected IDialogSettings getDialogSettings () {
195- IDialogSettings settings = LanguageServerPlugin .getDefault ().getDialogSettings ().getSection (DIALOG_SETTINGS );
196- if (settings == null ) {
197- settings = LanguageServerPlugin .getDefault ().getDialogSettings ().addNewSection (DIALOG_SETTINGS );
195+ IDialogSettings dialogSettings = LanguageServerPlugin .getDefault ().getDialogSettings ();
196+ IDialogSettings sectionSettings = dialogSettings .getSection (DIALOG_SETTINGS );
197+ if (sectionSettings == null ) {
198+ sectionSettings = dialogSettings .addNewSection (DIALOG_SETTINGS );
198199 }
199- return settings ;
200+ return sectionSettings ;
200201 }
201202
202203 @ Override
You can’t perform that action at this time.
0 commit comments