Remove source index from SourceFileArtifactValue.
@@ -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;
