diff options
author | 2016-04-21 08:09:51 +0000 | |
---|---|---|
committer | 2016-04-21 11:02:25 +0000 | |
commit | 760e70958a47218b4c8edde90da0c7a23fa0e725 (patch) | |
tree | 961e0e4c14821f28b88510c413ec3379cf520be8 /src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java | |
parent | 06df021b374201687cb135f75f8dc11a3d5d420a (diff) |
Refactor the Event class; always construct through static methods.
--
MOS_MIGRATED_REVID=120418505
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java b/src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java index 88dc9a3f2d..2513cecdf4 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java +++ b/src/main/java/com/google/devtools/build/lib/actions/BlazeExecutor.java @@ -146,7 +146,7 @@ public final class BlazeExecutor implements Executor { */ @Override public void reportSubcommand(String reason, String message) { - reporter.handle(new Event(EventKind.SUBCOMMAND, null, "# " + reason + "\n" + message)); + reporter.handle(Event.of(EventKind.SUBCOMMAND, null, "# " + reason + "\n" + message)); } /** |