From 05fca23ed2e7bdb56b2b10fd91b2bda1a169e1a6 Mon Sep 17 00:00:00 2001 From: SteNicholas Date: Mon, 21 Jul 2025 13:31:18 +0800 Subject: [PATCH] [MINOR] Fix a typo buffer to body in ChunkFetchSuccess.toString ### What changes were proposed in this pull request? Fix a typo `buffer` to `body` in `ChunkFetchSuccess.toString`. ### Why are the changes needed? Since the field name of `AbstractMessage` is body, all the other places show `body=...` instead of `buffer=...`. We had better fix this typo for consistency. Backport https://github.com/apache/spark/pull/51570. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? CI. Closes #3378 from SteNicholas/chunk-fetch-success. Authored-by: SteNicholas Signed-off-by: mingji --- .../celeborn/common/network/protocol/ChunkFetchSuccess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/org/apache/celeborn/common/network/protocol/ChunkFetchSuccess.java b/common/src/main/java/org/apache/celeborn/common/network/protocol/ChunkFetchSuccess.java index d0297ec5a..5d2b25d66 100644 --- a/common/src/main/java/org/apache/celeborn/common/network/protocol/ChunkFetchSuccess.java +++ b/common/src/main/java/org/apache/celeborn/common/network/protocol/ChunkFetchSuccess.java @@ -95,7 +95,7 @@ public final class ChunkFetchSuccess extends ResponseMessage { public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("streamChunkId", streamChunkSlice) - .append("buffer", body()) + .append("body", body()) .toString(); } }