Skip to content

Commit 2108284

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 35273 b: refs/heads/autosynth-websecurityscanner c: 06c83c3 h: refs/heads/master i: 35271: 246d851
1 parent 484e326 commit 2108284

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/autosynth-websecurityscanner/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ refs/heads/autosynth-speech: c563dcd420cce0a37c39b1b9c24be1b9ba604dc7
142142
refs/heads/autosynth-tasks: 25d1eafe8cb66b00e3dad765dac74a5b45b83e63
143143
refs/heads/autosynth-texttospeech: 7a3ad430dddaed7a76f2026064502680c9339915
144144
refs/heads/autosynth-trace: 31564421a4b29f8257a6daea7f9a19838ac6459f
145-
refs/heads/autosynth-websecurityscanner: 774e6f836f7ec38c6bd42c0b00d2556f00373941
145+
refs/heads/autosynth-websecurityscanner: 06c83c3c9e92cc2bc4161a29ca544d6d452a5f80
146146
refs/heads/bigquerystorage: 06db74d123d7f8a3ef48755c2fcabed09faf8e64
147147
refs/heads/elharo-patch-1: ce159ef828d3c545991ff78e7b6e0d912a9453e9
148148
refs/heads/snyk-fix-r0punm: 1f0e6519ffd9f6cc09bcce1ccdf3fb61b6f4f9b5

branches/autosynth-websecurityscanner/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public final void copyTo(ByteBuffer target) {
117117
* @throws IndexOutOfBoundsException if the target is not large enough to hold the data
118118
*/
119119
public final void copyTo(byte[] target) {
120-
byteString.copyTo(target, 0, 0, length());
120+
byteString.copyTo(target, 0);
121121
}
122122

123123
/** Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */

0 commit comments

Comments
 (0)