1
0

Use Java naming in comments, not C++

This commit is contained in:
Gary Gregory
2024-11-05 06:10:05 -05:00
parent 76e61b0842
commit 07c2131ac9

View File

@@ -214,7 +214,7 @@ public final class WeakHashtable extends Hashtable {
// We can reduce (not eliminate) the chance of this // We can reduce (not eliminate) the chance of this
// happening by comparing hash codes. // happening by comparing hash codes.
result = result && hashCode() == otherKey.hashCode(); result = result && hashCode() == otherKey.hashCode();
// In any case, as our c'tor does not allow null referants // In any case, as our constructor does not allow null referants
// and Hashtable does not do equality checks between // and Hashtable does not do equality checks between
// existing keys, normal hash table operations should never // existing keys, normal hash table operations should never
// result in an equals comparison between null referants // result in an equals comparison between null referants