redhat-developer / redhat-developer/vscode-java

Dead code - false positive

Open
#3,746 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

This false positive is yours, right?
image

With this, I cannot customize the output response.
image

In principle the response entity cannot be null unless you specify it as nullable.
image

This does work.
image

Fix this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the false-positive dead-code diagnostic described in the issue and inspect the attached screenshots for the relevant response customization behavior. Done means the diagnostic no longer appears incorrectly while response customization still works; the issue names no files or tests, so locating the responsible language-server entry point is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.