diff options
author | 2017-10-30 18:14:10 -0400 | |
---|---|---|
committer | 2017-10-31 10:39:57 -0400 | |
commit | 5625e7e02def24a91bfa0b99ecf428bc823a50d5 (patch) | |
tree | d2d8961312ac7e49e6572b43bb45ba5c3d6de342 /src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java | |
parent | 5af6138f293985bb13e3ae46eab7ac8e10ab6db1 (diff) |
Automated rollback of commit c6b6dbadd0a93936c51154b25abc5fbba8f2d1af.
Not a totally clean rollback because of the intervening https://github.com/bazelbuild/bazel/commit/b5158a9a677b149e04e844c40a01e9a9dde40783.
*** Reason for rollback ***
PiperOrigin-RevId: 173957187
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java index 9363daaef5..06e895b9e7 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java @@ -279,8 +279,7 @@ public class BlazeCommandDispatcher { new CommandLineEvent.CanonicalCommandLineEvent(runtime, commandName, options); // The initCommand call also records the start time for the timestamp granularity monitor. - List<String> commandEnvWarnings = new ArrayList<>(); - CommandEnvironment env = workspace.initCommand(commandAnnotation, options, commandEnvWarnings); + CommandEnvironment env = workspace.initCommand(commandAnnotation, options); // Record the command's starting time for use by the commands themselves. env.recordCommandStartTime(firstContactTime); @@ -422,9 +421,6 @@ public class BlazeCommandDispatcher { module.checkEnvironment(env); } - for (String warning : commandEnvWarnings) { - reporter.handle(Event.warn(warning)); - } if (commonOptions.announceRcOptions) { if (startupOptionsTaggedWithBazelRc.isPresent()) { String lastBlazerc = ""; |