Skip to content

Commit 9642831

Browse files
rahulKQLsduskis
authored andcommitted
---
yaml --- r: 28549 b: refs/heads/master c: f4ab884 h: refs/heads/master i: 28547: c29af07
1 parent c5cec4b commit 9642831

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

  • trunk/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0a8ffec6533418da1967084ced9e13a8c155a7a9
2+
refs/heads/master: f4ab884b5a028f67caec311d6437e3a360849cb7
33
refs/heads/gh-pages: 9b91392095cbb68bba1a32efe7d8caeac44467d9
44
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
55
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

trunk/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Range.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import com.google.common.base.Objects;
2020
import com.google.common.base.Preconditions;
2121
import com.google.protobuf.ByteString;
22-
import com.google.protobuf.UnsafeByteOperations;
2322
import java.io.IOException;
2423
import java.io.ObjectInputStream;
2524
import java.io.ObjectOutputStream;
@@ -360,7 +359,7 @@ public static ByteStringRange prefix(ByteString prefix) {
360359
}
361360

362361
ByteString endPrefix = offset == 0 ? ByteString.EMPTY : prefix.substring(0, offset);
363-
ByteString endSuffix = UnsafeByteOperations.unsafeWrap(new byte[] {(byte) (curByte + 1)});
362+
ByteString endSuffix = ByteString.copyFrom(new byte[] {(byte) (curByte + 1)});
364363
ByteString end = endPrefix.concat(endSuffix);
365364

366365
ByteStringRange range = ByteStringRange.unbounded().startClosed(prefix);

0 commit comments

Comments
 (0)