From 88d4b1b08c3dc41ff265d57c84a9effb7d7191f0 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 1 Aug 2023 14:50:12 -0700 Subject: [PATCH] Relax the wrapped Action in ChangePhase to a more general interface. PiperOrigin-RevId: 552930137 Change-Id: I1fb116c0ddcf8f915b7aba0a41126e223eb2087c --- .../devtools/build/lib/actions/SpawnExecutedEvent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/actions/SpawnExecutedEvent.java b/src/main/java/com/google/devtools/build/lib/actions/SpawnExecutedEvent.java index dfb8aa00f9773f..f5b55bbcfb3a4a 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/SpawnExecutedEvent.java +++ b/src/main/java/com/google/devtools/build/lib/actions/SpawnExecutedEvent.java @@ -64,13 +64,13 @@ public Instant getStartTimeInstant() { * runtime of the entire CriticalPathComponent. */ public static final class ChangePhase implements ExtendedEventHandler.Postable { - private final Action action; + private final ActionAnalysisMetadata action; - public ChangePhase(Action action) { + public ChangePhase(ActionAnalysisMetadata action) { this.action = action; } - public Action getAction() { + public ActionAnalysisMetadata getAction() { return this.action; } }