Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: When passing a sub-array (offset, length) to the Storage#create …
…method the array is needlessly cloned (#506) leading to unnecessary memory allocations. No new tests as it was already covered. Signed-off-by: benoit <b.wiart@ubik-ingenierie.com> Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [X] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-storage/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [X] Ensure the tests and linter pass - [X] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #505 ☕️
- Loading branch information