Skip to content

Fixed a NullPointerException that would occur in Neovim#996

Merged
DavyLandman merged 2 commits intousethesource:mainfrom
qu1ncyk:nullpointerexception-bugfix
Mar 2, 2026
Merged

Fixed a NullPointerException that would occur in Neovim#996
DavyLandman merged 2 commits intousethesource:mainfrom
qu1ncyk:nullpointerexception-bugfix

Conversation

@qu1ncyk
Copy link
Contributor

@qu1ncyk qu1ncyk commented Mar 1, 2026

See #989.

fileOperationCapabilities.setDidCreate(whichFiles);
}
if (clientCapabilities.getFileOperations().getDidRename().booleanValue()) {
operations = clientCapabilities.getFileOperations();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need to re-request the getFileOperations, yes it's the more correct refactoring, but it doesn't make sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the 2 unnecessary getFileOperations() calls.

@DavyLandman DavyLandman merged commit 916c6c9 into usethesource:main Mar 2, 2026
11 of 12 checks passed
@qu1ncyk qu1ncyk deleted the nullpointerexception-bugfix branch March 2, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants