vscode-java
vscode-java copied to clipboard
Dead code - false positive
This false positive is yours, right?
With this, I cannot customize the output response.
In principle the response entity cannot be null unless you specify it as nullable.
This does work.
Fix this.
@drakgoku Could you attach a project example reproducing the error?
Sorry, it's not an example, it's a function of a microservice controller. I've updated the images, before the code was a test to show you the error. Now it's not. You can download the project in spring boot and make a controller and you'll see it. I'm using gradle kotlin dsl. But it shouldn't have any impact.