This is an automated email from the ASF dual-hosted git repository. dsmiley pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit 2c82ba9f9bc64fd1e574c042b50a79f796a73363 Author: David Smiley <[email protected]> AuthorDate: Sat May 24 12:15:03 2025 -0400 SOLR-16903: fix 9x backport --- solr/core/src/java/org/apache/solr/update/IndexFingerprint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/update/IndexFingerprint.java b/solr/core/src/java/org/apache/solr/update/IndexFingerprint.java index 8a62ce299b1..52473b1545a 100644 --- a/solr/core/src/java/org/apache/solr/update/IndexFingerprint.java +++ b/solr/core/src/java/org/apache/solr/update/IndexFingerprint.java @@ -224,7 +224,8 @@ public class IndexFingerprint implements MapSerializable { @Override public boolean equals(Object o) { if (this == o) return true; - if (!(o instanceof IndexFingerprint other)) return false; + if (!(o instanceof IndexFingerprint)) return false; + IndexFingerprint other = (IndexFingerprint) o; return maxVersionSpecified == other.maxVersionSpecified && this.maxVersionEncountered == other.maxVersionEncountered && this.maxInHash == other.maxInHash
