diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index f6ec714a656..912e601750f 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -71,6 +71,8 @@ Other * LUCENE-7346: Update forbiddenapis to version 2.2. (Uwe Schindler) + +* LUCENE-7360: Explanation.toHtml() is deprecated. (Alan Woodward) ======================= Lucene 6.1.0 ======================= diff --git a/lucene/core/src/java/org/apache/lucene/search/Explanation.java b/lucene/core/src/java/org/apache/lucene/search/Explanation.java index 70bf8bc3271..3e5951a5a0f 100644 --- a/lucene/core/src/java/org/apache/lucene/search/Explanation.java +++ b/lucene/core/src/java/org/apache/lucene/search/Explanation.java @@ -123,6 +123,7 @@ public final class Explanation { /** Render an explanation as HTML. */ + @Deprecated public String toHtml() { StringBuilder buffer = new StringBuilder(); buffer.append("