You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/autosynth-redis/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ public final void copyTo(ByteBuffer target) {
117
117
* @throws IndexOutOfBoundsException if the target is not large enough to hold the data
118
118
*/
119
119
publicfinalvoidcopyTo(byte[] target) {
120
-
byteString.copyTo(target, 0, 0, length());
120
+
byteString.copyTo(target, 0);
121
121
}
122
122
123
123
/** Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */
0 commit comments