aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/GrpcUtils.java (renamed from src/main/java/com/google/devtools/build/lib/remote/RemoteUtils.java)2
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteUtils.java b/src/main/java/com/google/devtools/build/lib/remote/GrpcUtils.java
index 58b2c94bf8..f6e0092822 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteUtils.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/GrpcUtils.java
@@ -21,7 +21,7 @@ import io.grpc.netty.NettyChannelBuilder;
/** Helper methods for gRPC calls */
@ThreadSafe
-public final class RemoteUtils {
+final class GrpcUtils {
public static ManagedChannel createChannel(String target, ChannelOptions channelOptions) {
NettyChannelBuilder builder =
NettyChannelBuilder.forTarget(target)
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java
index 1a8ab90247..c0952c0282 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java
@@ -106,7 +106,7 @@ final class RemoteSpawnStrategy implements SpawnActionContext {
} else if (GrpcActionCache.isRemoteCacheOptions(remoteOptions)) {
remoteCache =
new GrpcActionCache(
- RemoteUtils.createChannel(remoteOptions.remoteCache, channelOptions),
+ GrpcUtils.createChannel(remoteOptions.remoteCache, channelOptions),
channelOptions,
remoteOptions);
} else {
@@ -117,7 +117,7 @@ final class RemoteSpawnStrategy implements SpawnActionContext {
if (remoteCache != null && GrpcRemoteExecutor.isRemoteExecutionOptions(remoteOptions)) {
workExecutor =
new GrpcRemoteExecutor(
- RemoteUtils.createChannel(remoteOptions.remoteExecutor, channelOptions),
+ GrpcUtils.createChannel(remoteOptions.remoteExecutor, channelOptions),
channelOptions,
remoteOptions);
} else {