mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
Merge pull request #242 from eclipse/cd_issue240
Return Object insteadof null in LanguageServer.shutdown.
This commit is contained in:
commit
ddad776286
2 changed files with 3 additions and 2 deletions
|
@ -152,7 +152,7 @@ import org.eclipse.xtext.validation.Issue
|
|||
}
|
||||
|
||||
override CompletableFuture<Object> shutdown() {
|
||||
return CompletableFuture.completedFuture(null);
|
||||
return CompletableFuture.completedFuture(new Object());
|
||||
}
|
||||
|
||||
override TextDocumentService getTextDocumentService() {
|
||||
|
|
|
@ -229,7 +229,8 @@ public class LanguageServerImpl implements LanguageServer, WorkspaceService, Tex
|
|||
|
||||
@Override
|
||||
public CompletableFuture<Object> shutdown() {
|
||||
return CompletableFuture.<Object>completedFuture(null);
|
||||
Object _object = new Object();
|
||||
return CompletableFuture.<Object>completedFuture(_object);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue