diff options
author | Googler <noreply@google.com> | 2018-05-25 09:13:46 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-25 09:15:04 -0700 |
commit | 9fa72497c03573175eda1130617630bb0904faf2 (patch) | |
tree | 0e5442313e246ef7600d83218752614915f6ac9d /src/main/java/com | |
parent | 6acfe4ea6f586be211b46622cda485ea83eca7a9 (diff) |
Remove special casing from processes stat line.
Fixes #5263
RELNOTES: execution strategies line no longer handles differently the case
where all processes have the same strategy.
PiperOrigin-RevId: 198057496
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/SpawnStats.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/SpawnStats.java b/src/main/java/com/google/devtools/build/lib/runtime/SpawnStats.java index dcb68ca8a9..9a95501b6b 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/SpawnStats.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/SpawnStats.java @@ -42,7 +42,6 @@ class SpawnStats { private static class ResultString { StringBuilder result = new StringBuilder(); - String firstRunner; int spawnsCount = 0; int runnersNum = 0; @@ -54,10 +53,6 @@ class SpawnStats { spawnsCount += count; runnersNum += 1; - if (runnersNum == 1) { - firstRunner = name; - } - if (result.length() > 0) { result.append(", "); } @@ -71,9 +66,6 @@ class SpawnStats { if (runnersNum == 0) { return ""; } - if (runnersNum == 1) { - return ", " + firstRunner; - } return ": " + result; } } |