Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrQuansy committed Mar 22, 2024
1 parent e0b5af2 commit ab2c9a9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ public DictionaryEncoder() {

@Override
public void encode(Binary value, ByteArrayOutputStream out) {
valuesEncoder.encode(
int i =
entryIndex.computeIfAbsent(
value,
v -> {
indexEntry.add(v);
mapSize += v.getLength();
return entryIndex.size();
}),
out);
});
valuesEncoder.encode(i, out);
}

@Override
Expand Down

0 comments on commit ab2c9a9

Please sign in to comment.