Skip to content

Commit

Permalink
update isEmpty implement
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Jan 25, 2025
1 parent dc7189e commit d0a22a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public Map<String, IWritableMemChunk> getMemChunkMap() {

@Override
public boolean isEmpty() {
return memChunkMap.isEmpty();
return memChunkMap.isEmpty() || count() == 0;
}

@Override
Expand Down

0 comments on commit d0a22a3

Please sign in to comment.