mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-08 08:09:09 +00:00
Prior to this commit, `DataBufferUtils` would implement many utility static methods for managing and processing `DataBuffer` instances. `DataBuffer` is tightly linked to the reactive space, but its usage shoudn't be limited to applications that use `Publisher` extensively. This commit gathers methods that do not depend on `Publisher` into a new `DataBuffers` type that `DataBufferUtils` now extend. This allows to use `DataBuffer` instances in a non-reactive case. Fixes gh-37353