Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static final class ReadableByteChannelSessionBuilder {

private ReadableByteChannelSessionBuilder(BlobReadChannelContext blobReadChannelContext) {
this.blobReadChannelContext = blobReadChannelContext;
this.hasher = Hasher.defaultHasher();
this.hasher = Hasher.readHasher();
this.autoGzipDecompression = false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class HttpStorageRpcHasherHelper {
private final Hasher hasher;

private HttpStorageRpcHasherHelper() {
hasher = Hasher.defaultHasher();
hasher = Hasher.readHasher();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
public final class ReadAsSeekableChannel extends ReadProjectionConfig<SeekableByteChannel> {

static final ReadAsSeekableChannel INSTANCE =
new ReadAsSeekableChannel(
Hasher.readHasher(), LinearExponentialRangeSpecFunction.INSTANCE);
new ReadAsSeekableChannel(Hasher.readHasher(), LinearExponentialRangeSpecFunction.INSTANCE);

private final Hasher hasher;
private final RangeSpecFunction rangeSpecFunction;
Expand Down
Loading