Skip to content

Commit

Permalink
Add @nullable Annotation to LSW.connect(document, file) (#1058)
Browse files Browse the repository at this point in the history
Add @nullable Annotation to LSW.connect(document, file) to revert to the state before setting NonNullByDefault (3ed68da)
  • Loading branch information
rubenporras authored Aug 15, 2024
1 parent 8f4ac87 commit ceb1600
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public synchronized void stop() {
FileBuffers.getTextFileBufferManager().removeFileBufferListener(fileBufferListener);
}

public @Nullable CompletableFuture<LanguageServerWrapper> connect(IDocument document, IFile file)
public @Nullable CompletableFuture<LanguageServerWrapper> connect(@Nullable IDocument document, IFile file)
throws IOException {
final URI uri = LSPEclipseUtils.toUri(file);
if (uri != null) {
Expand Down

0 comments on commit ceb1600

Please sign in to comment.