Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename UnloadedToolchainContextKey to ToolchainContextKey. #11336

Closed
wants to merge 2 commits into from

Conversation

katre
Copy link
Member

@katre katre commented May 8, 2020

Cleanup leading to toolchain transitions, #10523.

@@ -485,11 +485,11 @@ public SkyValue compute(SkyKey key, Environment env) throws ConfiguredTargetFunc
configuration.getFragmentsMap().keySet(),
BuildOptions.diffForReconstruction(defaultBuildOptions, toolchainOptions));

Map<String, UnloadedToolchainContextKey> unloadedToolchainContextKeys = new HashMap<>();
Map<String, ToolchainContextKey> unloadedToolchainContextKeys = new HashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these relevant var names be changed to, e.g., toolchainContextKeys? Does UnloadedToolchainContext still exist? Sorry if I'm missing context!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnloadedToolchainContext still exists, but yes, these should be renamed.

@@ -501,19 +501,19 @@ public RuleContext getRuleContextForTesting(
SkyFunctionEnvironmentForTesting skyfunctionEnvironment =
skyframeExecutor.getSkyFunctionEnvironmentForTesting(eventHandler);

Map<String, UnloadedToolchainContextKey> unloadedToolchainContextKeys = new HashMap<>();
Map<String, ToolchainContextKey> unloadedToolchainContextKeys = new HashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same renaming comment here and below

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@bazel-io bazel-io closed this in 6083711 May 12, 2020
@katre katre deleted the tck-01-rename branch May 12, 2020 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants