File tree Expand file tree Collapse file tree
org.eclipse.lsp4e/src/org/eclipse/lsp4e Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,11 +309,11 @@ public boolean anyMatching() {
309309 */
310310 public static class LanguageServerProjectExecutor extends LanguageServers <LanguageServerProjectExecutor > {
311311
312- private final IProject project ;
312+ private final @ Nullable IProject project ;
313313
314314 private boolean restartStopped = true ;
315315
316- LanguageServerProjectExecutor (final IProject project ) {
316+ LanguageServerProjectExecutor (final @ Nullable IProject project ) {
317317 this .project = project ;
318318 }
319319
@@ -476,7 +476,7 @@ public static LanguageServerDocumentExecutor forDocument(final IDocument documen
476476 * @param project
477477 * @return Executor that will run requests on servers appropriate to the supplied project
478478 */
479- public static LanguageServerProjectExecutor forProject (final IProject project ) {
479+ public static LanguageServerProjectExecutor forProject (final @ Nullable IProject project ) {
480480 return new LanguageServerProjectExecutor (project );
481481 }
482482
You can’t perform that action at this time.
0 commit comments