Skip to content

Conversation

kevin0x90
Copy link
Contributor

I noticed that the convenience method ResponseEntity.ok which also takes a body and delegates it to ResponseEntity.body is missing the nullable annotation which let to a sonarqube warning in my codebase when passing a null value to this convenience method.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 26, 2021
@jhoeller jhoeller self-assigned this Feb 26, 2021
@jhoeller jhoeller added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 26, 2021
@jhoeller jhoeller added this to the 5.3.5 milestone Feb 26, 2021
@jhoeller jhoeller merged commit 118d813 into spring-projects:master Feb 26, 2021
@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-5.2.x labels Feb 26, 2021
jhoeller added a commit that referenced this pull request Feb 26, 2021
This was referenced Mar 17, 2021
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants