From a5c1e948eb0ef3ce34ad7e7d23ce928049f8dd18 Mon Sep 17 00:00:00 2001 From: wadhwaroh-lang Date: Sun, 15 Mar 2026 16:26:39 -0400 Subject: [PATCH] Make BinderHeaders.BATCH_HEADERS final (fixes #3182) Signed-off-by: wadhwaroh-lang --- .../org/springframework/cloud/stream/binder/BinderHeaders.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java index bc2d333b4d..1b5afb10ed 100644 --- a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java +++ b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java @@ -43,7 +43,7 @@ public final class BinderHeaders { /** * Name of the Message header identifying structure for batch Message headers. */ - public static String BATCH_HEADERS = PREFIX + "batchHeaders"; + public static final String BATCH_HEADERS = PREFIX + "batchHeaders"; /** * Indicates the name of the target destination the binder should use if they