From a8491ecd3fd6410f5182cce09f5594149c2e7fce Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 23 Nov 2025 21:42:54 -0800 Subject: [PATCH] Update SeaweedOutputStream.java --- .../main/java/seaweedfs/client/SeaweedOutputStream.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java index a40ea64cb..2693dc098 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java @@ -257,11 +257,12 @@ public class SeaweedOutputStream extends OutputStream { StringBuilder chunkInfo = new StringBuilder(); for (int i = 0; i < entry.getChunksCount(); i++) { FilerProto.FileChunk chunk = entry.getChunks(i); - if (i > 0) chunkInfo.append(","); + if (i > 0) + chunkInfo.append(","); chunkInfo.append(chunk.getFileId()); } - LOG.warn("=== PARQUET FILE WRITTEN TO EMPLOYEES: {} ({} bytes) CHUNKS: [{}] ===", - filename, position, chunkInfo.toString()); + LOG.warn("=== PARQUET FILE WRITTEN TO EMPLOYEES: {} ({} bytes) CHUNKS: [{}] ===", + filename, position, chunkInfo.toString()); } } finally { lastError = new IOException("Stream is closed!");