This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch MCHANGES-432-cleanups
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit c1586de7e95c78731eff24c10966766a311d1cf2
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Fri Nov 22 17:14:33 2024 +0100

    [MCHANGES-432] Remove deprecated parameter - escapeHtml - cleanups
---
 .../apache/maven/plugins/changes/ChangesReport.java   |  2 --
 .../maven/plugins/changes/ChangesReportGenerator.java | 19 +------------------
 2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
index 48ab9cd..4196756 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
@@ -234,8 +234,6 @@ public class ChangesReport extends AbstractChangesReport {
         report.setAuthor(changesXml.getAuthor());
         report.setTitle(changesXml.getTitle());
 
-        report.setEscapeHTML(true);
-
         // Create a case insensitive version of issueLinkTemplatePerSystem
         // We need something case insensitive to maintain backward 
compatibility
         if (issueLinkTemplatePerSystem == null) {
diff --git 
a/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
index e92e84d..ae4806c 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
@@ -75,11 +75,6 @@ public class ChangesReportGenerator extends 
AbstractIssuesReportGenerator {
 
     private boolean linkToFeed;
 
-    /**
-     * @since 2.4
-     */
-    private boolean escapeHTML;
-
     /**
      * @since 2.4
      */
@@ -94,14 +89,6 @@ public class ChangesReportGenerator extends 
AbstractIssuesReportGenerator {
         this.releaseList = releaseList;
     }
 
-    public boolean isEscapeHTML() {
-        return escapeHTML;
-    }
-
-    public void setEscapeHTML(boolean escapeHTML) {
-        this.escapeHTML = escapeHTML;
-    }
-
     public String getSystem() {
         return system;
     }
@@ -211,11 +198,7 @@ public class ChangesReportGenerator extends 
AbstractIssuesReportGenerator {
 
         String actionDescription = action.getAction();
 
-        if (escapeHTML) {
-            sink.text(actionDescription);
-        } else {
-            sink.rawText(actionDescription);
-        }
+        sink.text(actionDescription);
 
         // no null check needed classes from modello return a new ArrayList
         if (StringUtils.isNotEmpty(action.getIssue())

Reply via email to