Fix compilation issue on recent lsp4e

I also beleave the new api that's being overridden here has something to do
with how the error ouput from LSP process might be shown to the user.
This commit is contained in:
Kris De Volder
2018-02-01 10:20:41 -08:00
parent 2be657fb16
commit 176a40b4b3
2 changed files with 9 additions and 2 deletions

View File

@@ -55,7 +55,6 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
public DelegatingStreamConnectionProvider() {
String port = System.getProperty("boot-java-ls-port");
if (port != null) {
this.provider = new SpringBootJavaLanguageServerViaSocket(Integer.parseInt(port));
}
@@ -125,5 +124,8 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
settings.put("boot-java", bootJavaObj);
this.languageServer.getWorkspaceService().didChangeConfiguration(new DidChangeConfigurationParams(settings));
}
public InputStream getErrorStream() {
return provider.getErrorStream();
}
}

View File

@@ -61,4 +61,9 @@ public class SpringBootJavaLanguageServerViaSocket implements StreamConnectionPr
}
}
public InputStream getErrorStream() {
// TODO Auto-generated method stub
return null;
}
}