aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-15 13:27:10 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-15 13:27:10 -0700
commit22f8aae02856bc9daf5f77a721444a5a83ecb48a (patch)
tree43d15578995ad5fdedf9e0b577bba835a7b87a01 /other/java
parentbc3be0bb3756c559ba3495929f40982dba679fd5 (diff)
downloadseaweedfs-22f8aae02856bc9daf5f77a721444a5a83ecb48a.tar.xz
seaweedfs-22f8aae02856bc9daf5f77a721444a5a83ecb48a.zip
fix compilation
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/java/seaweedfs/client/ChunkCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/java/client/src/main/java/seaweedfs/client/ChunkCache.java b/other/java/client/src/main/java/seaweedfs/client/ChunkCache.java
index df069503b..3a33224b8 100644
--- a/other/java/client/src/main/java/seaweedfs/client/ChunkCache.java
+++ b/other/java/client/src/main/java/seaweedfs/client/ChunkCache.java
@@ -21,7 +21,7 @@ public class ChunkCache {
public byte[] getChunk(String fileId) {
if (this.cache == null) {
- return;
+ return null;
}
return this.cache.getIfPresent(fileId);
}