diff options
author | twerth <twerth@google.com> | 2018-08-09 01:30:47 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-09 01:32:59 -0700 |
commit | 013ac41f4b27a8f049394dd5c5f73c2942e7a175 (patch) | |
tree | 0eba112a9b731c1b297111a697f06a8d8654d40a /src/main/java/com/google/devtools/build/lib | |
parent | 5a7c847e98428f873c6c426ebfd99a91f9295593 (diff) |
Remove unused workspace variable.
RELNOTES: None
PiperOrigin-RevId: 208010973
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
3 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java index cae2e779b1..a729784a4c 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java @@ -930,7 +930,6 @@ public final class BlazeRuntime { dispatcher, runtime.getClock(), startupOptions.commandPort, - runtime.getWorkspace().getWorkspace(), runtime.getServerDirectory(), startupOptions.maxIdleSeconds, startupOptions.idleServerTasks); diff --git a/src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java b/src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java index b23d22017c..c0b6e52035 100644 --- a/src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java +++ b/src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java @@ -156,13 +156,12 @@ public class GrpcServerImpl implements RPCServer { BlazeCommandDispatcher dispatcher, Clock clock, int port, - Path workspace, Path serverDirectory, int maxIdleSeconds, boolean idleServerTasks) throws IOException { return new GrpcServerImpl( - dispatcher, clock, port, workspace, serverDirectory, maxIdleSeconds, idleServerTasks); + dispatcher, clock, port, serverDirectory, maxIdleSeconds, idleServerTasks); } } @@ -509,7 +508,6 @@ public class GrpcServerImpl implements RPCServer { private final ExecutorService commandExecutorPool; private final Clock clock; private final Path serverDirectory; - private final Path workspace; private final String requestCookie; private final String responseCookie; private final AtomicLong interruptCounter = new AtomicLong(0); @@ -529,7 +527,6 @@ public class GrpcServerImpl implements RPCServer { BlazeCommandDispatcher dispatcher, Clock clock, int port, - Path workspace, Path serverDirectory, int maxIdleSeconds, boolean doIdleServerTasks) @@ -551,7 +548,6 @@ public class GrpcServerImpl implements RPCServer { this.dispatcher = dispatcher; this.clock = clock; this.serverDirectory = serverDirectory; - this.workspace = workspace; this.port = port; this.maxIdleSeconds = maxIdleSeconds; this.serving = false; diff --git a/src/main/java/com/google/devtools/build/lib/server/RPCServer.java b/src/main/java/com/google/devtools/build/lib/server/RPCServer.java index 9ea22844ee..0b06e5acea 100644 --- a/src/main/java/com/google/devtools/build/lib/server/RPCServer.java +++ b/src/main/java/com/google/devtools/build/lib/server/RPCServer.java @@ -32,7 +32,6 @@ public interface RPCServer { BlazeCommandDispatcher dispatcher, Clock clock, int port, - Path workspace, Path serverDirectory, int maxIdleSeconds, boolean idleServerTasks) |