Skip to content

Conversation

@dhalperi
Copy link
Contributor

We should use random.nextBytes(buff) instead of making the array in a loop.

The code we now point to is the same as the for loop, so the test continues to pass.

We should use random.nextBytes(buff) instead of making the array in a loop.

The code we now point to is the same as the for loop, so the test continues to pass.
@dhalperi
Copy link
Contributor Author

This change also fixes a build break in our integration tests which use a very strict compiler that disallows error-prone code.

@dhalperi
Copy link
Contributor Author

dhalperi commented Jun 14, 2016

R: @tgroh

@tgroh
Copy link
Member

tgroh commented Jun 14, 2016

LGTM

@asfgit asfgit closed this in f9a9214 Jun 14, 2016
@dhalperi dhalperi deleted the compressedreadtest branch June 14, 2016 01:21
lukecwik referenced this pull request in lukecwik/incubator-beam Oct 13, 2016
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants