Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdogan Ozkoca committed Feb 7, 2025
1 parent f2aadef commit 5057e27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private <T> T handleCompletableFutureJoin(CompletableFuture<T> future) throws IO
throw ((UncheckedIOException) cause).getCause();
}

throw new IOException("Error while getting file");
throw new IOException("Error while getting data");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public int read(byte @NonNull [] buf, int off, int len, long pos) throws IOExcep
Preconditions.checkArgument(0 <= len, "`len` must not be negative");
Preconditions.checkArgument(off < buf.length, "`off` must be less than size of buffer");


byte[] content = this.getDataWithRetries();
int contentOffset = posToOffset(pos);
int available = content.length - contentOffset;
Expand Down

0 comments on commit 5057e27

Please sign in to comment.