Skip to content

Commit b4e4abd

Browse files
abhinav-qlogicsduskis
authored andcommitted
deprecated warnings removed (#5406)
1 parent b24520a commit b4e4abd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore

google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Blob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void copyTo(ByteBuffer target) {
110110
* @throws IndexOutOfBoundsException if an offset or size is negative or too large
111111
*/
112112
public void copyTo(byte[] target) {
113-
byteString.copyTo(target, 0, 0, getLength());
113+
byteString.copyTo(target, 0);
114114
}
115115

116116
ByteString getByteString() {

0 commit comments

Comments
 (0)