aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java b/src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java
index 2308721e95..4c34fec5e3 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/ActionContextConsumer.java
@@ -13,11 +13,10 @@
// limitations under the License.
package com.google.devtools.build.lib.actions;
+import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Multimap;
import com.google.devtools.build.lib.actions.Executor.ActionContext;
-import java.util.Map;
-
/**
* An object describing that actions require a particular implementation of an
* {@link ActionContext}.
@@ -53,7 +52,7 @@ public interface ActionContextConsumer {
* present in the returned map. The easiest way to assure this is to use a map created using
* {@code new TreeMap<>(String.CASE_INSENSITIVE_ORDER)}.
*/
- Map<String, String> getSpawnActionContexts();
+ ImmutableMap<String, String> getSpawnActionContexts();
/**
* Returns a map from action context class to the implementation required by the module.