Update outdated comment
RELNOTES: None
PiperOrigin-RevId: 152947523
diff --git a/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java b/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
index 3c82f6c..2deba30 100644
--- a/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
+++ b/src/main/java/com/google/devtools/build/lib/cmdline/PackageIdentifier.java
@@ -97,10 +97,13 @@
*/
private final RepositoryName repository;
- /** The name of the package. Canonical (i.e. x.equals(y) <=> x==y). */
+ /** The name of the package. */
private final PathFragment pkgName;
- /** Precomputed hash code **/
+ /**
+ * Precomputed hash code. Hash/equality is based on repository and pkgName. Note that due to
+ * interning, x.equals(y) <=> x==y.
+ **/
private final int hashCode;
private PackageIdentifier(RepositoryName repository, PathFragment pkgName) {