1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-22 09:27:39 +00:00

Fix the docs for ReadHandle.read's "count"

This was copied over from the old binary handle, and so states we
always return a single number if no count is given. This is only the
case when the file is opened in binary mode.
This commit is contained in:
Jonathan Coates
2024-01-23 22:39:49 +00:00
parent 359c8d6652
commit 9ccee75a99
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ public record PrettyDataProvider<T extends DataProvider>(T provider) implements
}
private record Output(CachedOutput output) implements CachedOutput {
@SuppressWarnings("unused")
@SuppressWarnings("deprecation")
private static final HashFunction HASH_FUNCTION = Hashing.sha1();
@Override