mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
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