redhat-developer / lsp4ij

LSP Client for IntelliJ
Eclipse Public License 2.0
48 stars 9 forks source link

fix: prevent NPE when isEnabled is called from plugin ls definition #349

Closed angelozerr closed 2 weeks ago

angelozerr commented 2 weeks ago

fix: prevent NPE when isEnabled is called from plugin ls definition

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 23.47%. Comparing base (29b0f6c) to head (5466623).

Files Patch % Lines
...n/extension/ExtensionLanguageServerDefinition.java 0.00% 5 Missing :warning:
...ij/server/definition/LanguageServerDefinition.java 60.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #349 +/- ## ========================================== + Coverage 23.19% 23.47% +0.28% ========================================== Files 265 265 Lines 9257 9141 -116 Branches 1697 1249 -448 ========================================== - Hits 2147 2146 -1 + Misses 6707 6590 -117 - Partials 403 405 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.