diff --git a/lucene/test-framework/src/java/org/apache/lucene/search/similarities/AssertingSimilarity.java b/lucene/test-framework/src/java/org/apache/lucene/search/similarities/AssertingSimilarity.java index c448312addb..dfe55380cc8 100644 --- a/lucene/test-framework/src/java/org/apache/lucene/search/similarities/AssertingSimilarity.java +++ b/lucene/test-framework/src/java/org/apache/lucene/search/similarities/AssertingSimilarity.java @@ -100,7 +100,7 @@ public class AssertingSimilarity extends Similarity { @Override public String toString() { - return "Asserting(" + super.toString() + ")"; + return "Asserting(" + delegate + ")"; } }