From dc936921aa027369d166467c9cb568b756957d1a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 26 Aug 2021 18:20:14 -0700 Subject: [PATCH] ensure the following logic are executed --- .../client/src/main/java/seaweedfs/client/FilerClient.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/other/java/client/src/main/java/seaweedfs/client/FilerClient.java b/other/java/client/src/main/java/seaweedfs/client/FilerClient.java index dae7753a4..e70f6befa 100644 --- a/other/java/client/src/main/java/seaweedfs/client/FilerClient.java +++ b/other/java/client/src/main/java/seaweedfs/client/FilerClient.java @@ -72,10 +72,6 @@ public class FilerClient extends FilerGrpcClient { } return entry; } else { - String fileId = entry.getChunks(0).getFileId(); - if (fileId != null && fileId.length() != 0) { - return entry; - } FilerProto.Entry.Builder entryBuilder = entry.toBuilder(); entryBuilder.clearChunks(); long fileSize = 0;