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

elharo pushed a commit to branch unused
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit ccffcece5fb426ea334acfb1cf8c8c16dbe4454d
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Sat Nov 23 13:13:34 2024 -0500

    Remove unused code
---
 src/main/java/org/apache/maven/plugins/changes/ChangesReport.java | 6 ------
 src/main/java/org/apache/maven/plugins/changes/FeedGenerator.java | 3 +--
 2 files changed, 1 insertion(+), 8 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 434dd4c..af78033 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
@@ -295,12 +295,6 @@ public class ChangesReport extends AbstractChangesReport {
         copyStaticResources();
     }
 
-    private void failIfUsingDeprecatedParameter(Object value, String name, 
String message) throws MavenReportException {
-        if (value != null) {
-            throw new MavenReportException("You are using the old parameter '" 
+ name + "'. " + message);
-        }
-    }
-
     @Override
     public String getDescription(Locale locale) {
         return getBundle(locale).getString("report.issues.description");
diff --git a/src/main/java/org/apache/maven/plugins/changes/FeedGenerator.java 
b/src/main/java/org/apache/maven/plugins/changes/FeedGenerator.java
index cb96ab0..fcb9816 100644
--- a/src/main/java/org/apache/maven/plugins/changes/FeedGenerator.java
+++ b/src/main/java/org/apache/maven/plugins/changes/FeedGenerator.java
@@ -153,10 +153,9 @@ public class FeedGenerator {
     /**
      * A List of supported feed types.
      *
-     * @return a List of supported feed types.
+     * @return a List of supported feed types
      * @see #isSupportedFeedType(java.lang.String)
      */
-    @SuppressWarnings("unchecked")
     public List<String> getSupportedFeedTypes() {
         return feed.getSupportedFeedTypes();
     }

Reply via email to