Skip to content

Commit fb4215d

Browse files
committed
review comments
1 parent 88cdbfb commit fb4215d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/GapicSpannerRpc.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,7 @@ public class GapicSpannerRpc implements SpannerRpc {
278278
private final int numChannels;
279279
private final boolean isGrpcGcpExtensionEnabled;
280280

281-
private Supplier<Boolean> directPathEnabledSupplier =
282-
() -> {
283-
return false;
284-
};;
281+
private Supplier<Boolean> directPathEnabledSupplier = () -> false;
285282

286283
public static GapicSpannerRpc create(SpannerOptions options) {
287284
return new GapicSpannerRpc(options);

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/GrpcSpannerStubWithStubSettingsAndClientContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
class GrpcSpannerStubWithStubSettingsAndClientContext extends GrpcSpannerStub {
3030

31-
public static final GrpcSpannerStubWithStubSettingsAndClientContext create(
31+
static final GrpcSpannerStubWithStubSettingsAndClientContext create(
3232
SpannerStubSettings settings, ClientContext clientContext) throws IOException {
3333
return new GrpcSpannerStubWithStubSettingsAndClientContext(settings, clientContext);
3434
}

0 commit comments

Comments
 (0)