Skip to content

Commit e347a09

Browse files
committed
GH-1621: fix check for preference - (eclipse)
1 parent 9632351 commit e347a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/SpringBootLanguageServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2017, 2024 Pivotal, Inc.
2+
* Copyright (c) 2017, 2025 Pivotal, Inc.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -47,7 +47,7 @@ private List<String> getJVMArgs() {
4747
args.add("-Dspring.config.location=classpath:/application.properties");
4848

4949
// disable embedded MCP server, depending on preference
50-
if (BootLanguageServerPlugin.getDefault().getPreferenceStore().getBoolean(Constants.PREF_START_LS_EARLY) == false) {
50+
if (BootLanguageServerPlugin.getDefault().getPreferenceStore().getBoolean(Constants.PREF_AI_ENABLE_MCP) == false) {
5151
args.add("-Dspring.main.web-application-type=NONE");
5252
}
5353

0 commit comments

Comments
 (0)