Skip to content

Commit 2b66204

Browse files
committed
fix formatting
1 parent 9b3f24f commit 2b66204

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreOptions.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,13 @@ private DatastoreOptions(Builder builder) {
223223
builder.channelProvider != null
224224
? builder.channelProvider
225225
: GrpcTransportOptions.setUpChannelProvider(
226-
DatastoreSettings.defaultGrpcTransportProviderBuilder().setChannelPoolSettings(
227-
ChannelPoolSettings.builder().setMinChannelCount(1).setInitialChannelCount(4)
228-
.build()), this);
226+
DatastoreSettings.defaultGrpcTransportProviderBuilder()
227+
.setChannelPoolSettings(
228+
ChannelPoolSettings.builder()
229+
.setMinChannelCount(1)
230+
.setInitialChannelCount(4)
231+
.build()),
232+
this);
229233
}
230234
}
231235

google-cloud-datastore/src/main/java/com/google/cloud/datastore/spi/v1/GrpcDatastoreRpc.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ public GrpcDatastoreRpc(DatastoreOptions datastoreOptions) throws IOException {
7878
DatastoreStubSettings datastoreStubSettings =
7979
DatastoreStubSettings.newBuilder(clientContext)
8080
.applyToAllUnaryMethods(retrySettingSetter(datastoreOptions))
81-
.setTransportChannelProvider(DatastoreSettings.defaultGrpcTransportProviderBuilder()
82-
.setChannelPoolSettings(ChannelPoolSettings.builder()
83-
.setMinChannelCount(1)
84-
.setMaxChannelCount(4)
81+
.setTransportChannelProvider(
82+
DatastoreSettings.defaultGrpcTransportProviderBuilder()
83+
.setChannelPoolSettings(
84+
ChannelPoolSettings.builder()
85+
.setMinChannelCount(1)
86+
.setMaxChannelCount(4)
87+
.build())
8588
.build())
86-
.build())
8789
.build();
8890
datastoreStub = GrpcDatastoreStub.create(datastoreStubSettings);
8991
} catch (IOException e) {

0 commit comments

Comments
 (0)