Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix compilation

Chris Lu22f8aae02856
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 df069503be..3a33224b84 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);
}