adopted latest lsp4e api changes further since they are now in lsp4e 0.5.x snapshot builds

This commit is contained in:
Martin Lippert
2018-02-02 09:16:42 +01:00
parent 82c82579ca
commit 3feb037188
3 changed files with 12 additions and 16 deletions

View File

@@ -83,6 +83,11 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
return this.provider.getOutputStream();
}
@Override
public InputStream getErrorStream() {
return provider.getErrorStream();
}
@Override
public void stop() {
this.provider.stop();
@@ -125,7 +130,4 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
this.languageServer.getWorkspaceService().didChangeConfiguration(new DidChangeConfigurationParams(settings));
}
public InputStream getErrorStream() {
return provider.getErrorStream();
}
}

View File

@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017 Pivotal, Inc.
* Copyright (c) 2017, 2018 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -50,6 +50,11 @@ public class SpringBootJavaLanguageServerViaSocket implements StreamConnectionPr
return outputStream;
}
@Override
public InputStream getErrorStream() {
return null;
}
@Override
public void stop() {
if (socket != null) {
@@ -61,9 +66,4 @@ public class SpringBootJavaLanguageServerViaSocket implements StreamConnectionPr
}
}
public InputStream getErrorStream() {
// TODO Auto-generated method stub
return null;
}
}