diff options
Diffstat (limited to 'other/java')
| -rw-r--r-- | other/java/client/pom.xml | 8 | ||||
| -rw-r--r-- | other/java/client/src/main/java/seaweedfs/client/FilerClient.java | 1 |
2 files changed, 9 insertions, 0 deletions
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 @@ -68,6 +68,14 @@ </extensions> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>7</source> + <target>7</target> + </configuration> + </plugin> + <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.5.1</version> 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; } |
