Apply error-prone fixes for MethodCanBeStatic in Skfyrame.
PiperOrigin-RevId: 305711825
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java
index 5ea78f8..93efbec 100644
--- a/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java
+++ b/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java
@@ -848,7 +848,7 @@
// TODO(bazel-team): Add some tests for FileSystemValueChecker#changedKeys*() methods.
// Presently these appear to be untested.
- private ActionExecutionValue actionValue(Action action) {
+ private static ActionExecutionValue actionValue(Action action) {
Map<Artifact, FileArtifactValue> artifactData = new HashMap<>();
for (Artifact output : action.getOutputs()) {
try {
@@ -874,7 +874,7 @@
/*actionDependsOnBuildId=*/ false);
}
- private ActionExecutionValue actionValueWithEmptyDirectory(Artifact emptyDir) {
+ private static ActionExecutionValue actionValueWithEmptyDirectory(Artifact emptyDir) {
TreeArtifactValue emptyValue = TreeArtifactValue.create
(ImmutableMap.<TreeFileArtifact, FileArtifactValue>of());
@@ -886,7 +886,8 @@
/*actionDependsOnBuildId=*/ false);
}
- private ActionExecutionValue actionValueWithTreeArtifacts(List<TreeFileArtifact> contents) {
+ private static ActionExecutionValue actionValueWithTreeArtifacts(
+ List<TreeFileArtifact> contents) {
Map<Artifact, FileArtifactValue> fileData = new HashMap<>();
Map<Artifact, Map<TreeFileArtifact, FileArtifactValue>> directoryData = new HashMap<>();
@@ -928,7 +929,7 @@
/*actionDependsOnBuildId=*/ false);
}
- private ActionExecutionValue actionValueWithRemoteTreeArtifact(
+ private static ActionExecutionValue actionValueWithRemoteTreeArtifact(
SpecialArtifact output, Map<PathFragment, RemoteFileArtifactValue> children) {
ImmutableMap.Builder<TreeFileArtifact, FileArtifactValue> childFileValues =
ImmutableMap.builder();
@@ -947,7 +948,7 @@
/* actionDependsOnBuildId= */ false);
}
- private ActionExecutionValue actionValueWithRemoteArtifact(
+ private static ActionExecutionValue actionValueWithRemoteArtifact(
Artifact output, RemoteFileArtifactValue value) {
return ActionExecutionValue.create(
Collections.singletonMap(output, value),