aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/actions
diff options
context:
space:
mode:
authorGravatar felly <felly@google.com>2018-07-30 08:30:10 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-30 08:32:20 -0700
commitfe19ddc2591fec47d687b182dd75d847000160db (patch)
treebe5fb16954e26a5417b959a607485fad33aff58d /src/main/java/com/google/devtools/build/lib/actions
parent38899f708923d6a7e1edd011af2ba70f505bb4c9 (diff)
Remove source index from SourceFileArtifactValue.
PiperOrigin-RevId: 206586252
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java b/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java
index cee7110eb9..d43fd2f368 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/FileArtifactValue.java
@@ -444,14 +444,12 @@ public abstract class FileArtifactValue implements SkyValue {
*/
public static final class SourceFileArtifactValue extends FileArtifactValue {
private final PathFragment execPath;
- private final int sourceRootIndex;
private final byte[] digest;
private final long size;
public SourceFileArtifactValue(
- PathFragment execPath, int sourceRootIndex, byte[] digest, long size) {
+ PathFragment execPath, byte[] digest, long size) {
this.execPath = Preconditions.checkNotNull(execPath);
- this.sourceRootIndex = sourceRootIndex;
this.digest = Preconditions.checkNotNull(digest);
this.size = size;
}
@@ -460,10 +458,6 @@ public abstract class FileArtifactValue implements SkyValue {
return execPath;
}
- public int getSourceRootIndex() {
- return sourceRootIndex;
- }
-
@Override
public FileStateType getType() {
return FileStateType.REGULAR_FILE;