You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by tf...@apache.org on 2020/06/22 23:48:53 UTC
[lucene-solr] branch branch_8x updated: Include delegate in
AssertingSimilarity toString (#1596)
This is an automated email from the ASF dual-hosted git repository.
tflobbe pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 119a703 Include delegate in AssertingSimilarity toString (#1596)
119a703 is described below
commit 119a703b0a57cd0fd131df74347c561e52693368
Author: Tomas Fernandez Lobbe <tf...@apache.org>
AuthorDate: Mon Jun 22 16:38:00 2020 -0700
Include delegate in AssertingSimilarity toString (#1596)
---
.../java/org/apache/lucene/search/similarities/AssertingSimilarity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 c448312..dfe5538 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 + ")";
}
}