From f4bc56de42fb2ecc4dcd95a5ab9f9826607ac899 Mon Sep 17 00:00:00 2001 From: Daniel Norberg Date: Thu, 6 Sep 2018 03:06:18 +0900 Subject: [PATCH] make DatastoreBatchWriter public (#3387) It would be useful for `DatastoreBatchWriter` to be public for instrumentation purposes. Its sibling interfaces `DatastoreWriter`, `DatastoreReaderWriter`, `DatastoreReader` etc are all public so I assume that it not being public is not intentional. --- .../java/com/google/cloud/datastore/DatastoreBatchWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreBatchWriter.java b/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreBatchWriter.java index c713c2bf52ed..f24d39691a41 100644 --- a/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreBatchWriter.java +++ b/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreBatchWriter.java @@ -22,7 +22,7 @@ * An interface to represent a batch of write operations. All write operation for a batch writer * will be applied to the Datastore in one RPC call. */ -interface DatastoreBatchWriter extends DatastoreWriter { +public interface DatastoreBatchWriter extends DatastoreWriter { /** * Datastore add operation. This method will also allocate id for any entity with an incomplete