From 2062144aaab6ac3a6e34402c39975ba77c7a46f1 Mon Sep 17 00:00:00 2001 From: Googler Date: Fri, 5 May 2023 12:10:32 -0700 Subject: [PATCH] Fix incorrect comment that I recently added. PiperOrigin-RevId: 529780761 Change-Id: If5e6615d2ab8d37ac94a7b18c000feb716539890 --- .../java/com/google/devtools/build/lib/actions/Artifact.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java index 49afdc4bba7c34..1b1001880b65e6 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java +++ b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java @@ -318,8 +318,8 @@ public ArchivedTreeArtifact getArchivedTreeArtifact(SpecialArtifact treeArtifact private Artifact(ArtifactRoot root, PathFragment execPath, int hashCodeWithOwner) { Preconditions.checkNotNull(root); // Use a precomputed hashcode since there tends to be massive hash-based collections of - // artifacts. Importantly, the hashcode ought to incorporate the artifact's owner (not just the - // exec path) to prevent a hash collision on the same owner (this is the common case for + // artifacts. Importantly, the hashcode ought to incorporate the artifact's owner to prevent a + // hash collision on the same exec path but a different owner (this is the common case for // multiple aspects that produce the same output file). this.hashCode = hashCodeWithOwner; this.root = root;