From 2c724470784e2426e84c5915c8811d870aabe777 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 18 Dec 2018 20:22:51 -0800 Subject: [PATCH] HCFS: bug fix for listEntries fix https://github.com/chrislusf/seaweedfs/issues/797 --- other/java/client/pom.xml | 8 ++++++++ .../src/main/java/seaweedfs/client/FilerClient.java | 1 + 2 files changed, 9 insertions(+) diff --git a/other/java/client/pom.xml b/other/java/client/pom.xml index f8d98ea37..40e6a56bb 100644 --- a/other/java/client/pom.xml +++ b/other/java/client/pom.xml @@ -67,6 +67,14 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + 7 + 7 + + org.xolstice.maven.plugins protobuf-maven-plugin 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 3786e069c..63d0d8320 100644 --- a/other/java/client/src/main/java/seaweedfs/client/FilerClient.java +++ b/other/java/client/src/main/java/seaweedfs/client/FilerClient.java @@ -150,6 +150,7 @@ public class FilerClient { limit -= nSize; lastFileName = t.get(nSize - 1).getName(); } + results.addAll(t); if (t.size() < 1024) { break; }