Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#304 from dhalperi/compressed-s…
Browse files Browse the repository at this point in the history
…ource-test

CompressedSourceTest: simplify
  • Loading branch information
dhalperi authored Jun 14, 2016
2 parents 444609f + a7690a0 commit 8c7b286
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ private byte[] generateInput(int size) {
// Arbitrary but fixed seed
Random random = new Random(285930);
byte[] buff = new byte[size];
for (int i = 0; i < size; i++) {
buff[i] = (byte) (random.nextInt() % Byte.MAX_VALUE);
}
random.nextBytes(buff);
return buff;
}

Expand Down

0 comments on commit 8c7b286

Please sign in to comment.