minor renames to remove remaining references to boot java language server
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*******************************************************************************/
|
||||
package org.springframework.tooling.boot.ls;
|
||||
|
||||
import static org.springframework.tooling.ls.eclipse.commons.console.preferences.LanguageServerConsolePreferenceConstants.BOOT_JAVA_SERVER;
|
||||
import static org.springframework.tooling.ls.eclipse.commons.console.preferences.LanguageServerConsolePreferenceConstants.SPRING_BOOT_SERVER;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
@@ -33,7 +33,7 @@ import org.springframework.tooling.ls.eclipse.commons.STS4LanguageServerProcessS
|
||||
public class SpringBootLanguageServer extends STS4LanguageServerProcessStreamConnector {
|
||||
|
||||
public SpringBootLanguageServer() {
|
||||
super(BOOT_JAVA_SERVER);
|
||||
super(SPRING_BOOT_SERVER);
|
||||
List<String> commands = new ArrayList<>();
|
||||
JRE jre = getJRE();
|
||||
commands.add(jre.getJavaExecutable());
|
||||
|
||||
@@ -19,13 +19,13 @@ public class LanguageServerConsolePreferenceConstants {
|
||||
public static final String PREF_CLOUDFOUNDRY_CONSOLE_ENABLED = "cloudfoundry.console.enabled";
|
||||
public static final String PREF_BOSH_CONSOLE_ENABLED = "bosh.console.enabled";
|
||||
|
||||
public static final ServerInfo BOOT_JAVA_SERVER = new ServerInfo(PREF_BOOT_JAVA_CONSOLE_ENABLED, "Boot Java");
|
||||
public static final ServerInfo SPRING_BOOT_SERVER = new ServerInfo(PREF_BOOT_JAVA_CONSOLE_ENABLED, "Spring Boot");
|
||||
public static final ServerInfo CLOUDFOUNDRY_SERVER = new ServerInfo(PREF_CLOUDFOUNDRY_CONSOLE_ENABLED, "Cloudfoundry");
|
||||
public static final ServerInfo CONCOURSE_SERVER = new ServerInfo(PREF_CONCOURSE_CONSOLE_ENABLED, "Concourse");
|
||||
public static final ServerInfo BOSH_SERVER = new ServerInfo(PREF_BOSH_CONSOLE_ENABLED, "Bosh");
|
||||
|
||||
public static final ServerInfo[] ALL_SERVERS = {
|
||||
BOOT_JAVA_SERVER,
|
||||
SPRING_BOOT_SERVER,
|
||||
CLOUDFOUNDRY_SERVER,
|
||||
CONCOURSE_SERVER,
|
||||
BOSH_SERVER
|
||||
|
||||
Reference in New Issue
Block a user