diff options
author | 2018-05-01 13:19:16 -0700 | |
---|---|---|
committer | 2018-05-01 13:20:58 -0700 | |
commit | 26ff4b3e3997aab79e39caf62c0d123a315d9478 (patch) | |
tree | 7915c3e4b413e41a6c30f5acdc080398c1fb1430 /src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java | |
parent | a5dbb07fc00cf90faa0b37c6f65eddfe5d2e78fa (diff) |
Clean up code that directly imports nested classes like Builder, Entry, etc.
PiperOrigin-RevId: 194985157
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java b/src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java index f2adb52bfc..63256d77e9 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java +++ b/src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java @@ -21,7 +21,6 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.devtools.build.lib.actions.ActionAnalysisMetadata.MiddlemanType; import com.google.devtools.build.lib.actions.cache.ActionCache; -import com.google.devtools.build.lib.actions.cache.ActionCache.Entry; import com.google.devtools.build.lib.actions.cache.DigestUtils; import com.google.devtools.build.lib.actions.cache.Metadata; import com.google.devtools.build.lib.actions.cache.MetadataHandler; @@ -151,15 +150,16 @@ public class ActionCacheChecker { * @param entry cached action information. * @param action action to be validated. * @param actionInputs the inputs of the action. Normally just the result of action.getInputs(), - * but if this action doesn't yet know its inputs, we check the inputs from the cache. + * but if this action doesn't yet know its inputs, we check the inputs from the cache. * @param metadataHandler provider of metadata for the artifacts this action interacts with. - * @param checkOutput true to validate output artifacts, Otherwise, just - * validate inputs. - * + * @param checkOutput true to validate output artifacts, Otherwise, just validate inputs. * @return true if at least one artifact has changed, false - otherwise. */ private boolean validateArtifacts( - Entry entry, Action action, Iterable<Artifact> actionInputs, MetadataHandler metadataHandler, + ActionCache.Entry entry, + Action action, + Iterable<Artifact> actionInputs, + MetadataHandler metadataHandler, boolean checkOutput) { Iterable<Artifact> artifacts = checkOutput ? Iterables.concat(action.getOutputs(), actionInputs) |