mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
a37447e07f
Prior to this commit, a few implementations of the `HttpMessageConverter` contract were inheriting from abstract classes. Those classes were performing extra `OutputStream#flush` on the response body even though this is the responsibility of the super class. Such abstract classes do flush already, after delegating to the `writeInternal` method. This commit ensures that we remove such extra calls as they tend to waste resources for no added benefit. Closes gh-36383