mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
fix size using int instead of long
This commit is contained in:
@@ -757,7 +757,7 @@ public class DhfsFileServiceImpl implements DhfsFileService {
|
||||
|
||||
@Override
|
||||
public Long size(String uuid) {
|
||||
int size = 0;
|
||||
long size = 0;
|
||||
|
||||
NavigableMap<Long, String> chunksAll;
|
||||
|
||||
@@ -779,7 +779,7 @@ public class DhfsFileServiceImpl implements DhfsFileService {
|
||||
size += getChunkSize(chunk.getValue());
|
||||
}
|
||||
|
||||
return (long) size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private JObject<Directory> getRoot() {
|
||||
|
||||
Reference in New Issue
Block a user