From 8758dbb85c84ae4252487f34b99d1be9a60b4a45 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 7 Mar 2024 21:18:00 +0100 Subject: [PATCH] [compat6] Fix javadoc errors --- .../java/net/sourceforge/pmd/PMDConfiguration.java | 12 +++++------- .../main/java/net/sourceforge/pmd/PmdAnalysis.java | 12 ++++++------ .../src/main/java/net/sourceforge/pmd/Report.java | 1 - .../java/net/sourceforge/pmd/cpd/CSVRenderer.java | 2 +- .../sourceforge/pmd/cpd/renderer/CPDRenderer.java | 2 +- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/pmd-compat6/src/main/java/net/sourceforge/pmd/PMDConfiguration.java b/pmd-compat6/src/main/java/net/sourceforge/pmd/PMDConfiguration.java index 076da233c9..545f848b5b 100644 --- a/pmd-compat6/src/main/java/net/sourceforge/pmd/PMDConfiguration.java +++ b/pmd-compat6/src/main/java/net/sourceforge/pmd/PMDConfiguration.java @@ -45,7 +45,7 @@ import net.sourceforge.pmd.util.log.internal.SimpleMessageReporter; * PMD run. Once configured, use {@link PmdAnalysis#create(PMDConfiguration)} * in a try-with-resources to execute the analysis (see {@link PmdAnalysis}). * - *

Rulesets

+ *

Rulesets

* * * - *

Source files

+ *

Source files

* * * - *

Rendering

+ *

Rendering

* * * - *

Language configuration

+ *

Language configuration

* * - *

Miscellaneous

+ *

Miscellaneous

* * These methods create a new {@link Report} rather than modifying their receiver. - *

*/ public class Report { // todo move to package reporting diff --git a/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java b/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java index 0f6b313d3e..366386b1c5 100644 --- a/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java +++ b/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java @@ -30,7 +30,7 @@ import net.sourceforge.pmd.lang.document.FileLocation; * of fields describing each file where the duplication was found in the format * {@code (start line, line count (optional), file path)}. These repeat at least twice. * - *

Examples

+ *

Examples

*

* Example without {@code lineCountPerFile}: *

{@code
diff --git a/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/renderer/CPDRenderer.java b/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/renderer/CPDRenderer.java
index f79d108642..5776309eba 100644
--- a/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/renderer/CPDRenderer.java
+++ b/pmd-compat6/src/main/java/net/sourceforge/pmd/cpd/renderer/CPDRenderer.java
@@ -13,7 +13,7 @@ import java.util.Iterator;
 import net.sourceforge.pmd.cpd.Match;
 
 /**
- * @deprecated Use {@link CPDReportRenderer}
+ * @deprecated Use {@link net.sourceforge.pmd.cpd.CPDReportRenderer}
  */
 @Deprecated
 public interface CPDRenderer {