Remove BigIntegerFingerprint: it wasn't providing any utility above the standard Fingerprint.
PiperOrigin-RevId: 370960643
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/RecursiveFilesystemTraversalFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/RecursiveFilesystemTraversalFunction.java
index 3b62ec3..2177556 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/RecursiveFilesystemTraversalFunction.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/RecursiveFilesystemTraversalFunction.java
@@ -446,7 +446,7 @@
// path and size.
: FileArtifactValue.createForNormalFileUsingPath(path, rfsv.getSize());
}
- return new HasDigest.ByteStringDigest(fsv.getValueFingerprint().toByteArray());
+ return new HasDigest.ByteStringDigest(fsv.getValueFingerprint());
} else if (fsVal instanceof FileArtifactValue) {
FileArtifactValue fav = ((FileArtifactValue) fsVal);
if (fav.getDigest() != null) {
@@ -457,7 +457,7 @@
// if the HasDigest value is a file, convert it using the Path and size values.
return fav.getType().isFile()
? FileArtifactValue.createForNormalFileUsingPath(path, fav.getSize())
- : new HasDigest.ByteStringDigest(fav.getValueFingerprint().toByteArray());
+ : new HasDigest.ByteStringDigest(fav.getValueFingerprint());
}
return fsVal;
}