diff --git a/pmd/src/net/sourceforge/pmd/AbstractRule.java b/pmd/src/net/sourceforge/pmd/AbstractRule.java index d85ffeecce..e5b42f94bf 100644 --- a/pmd/src/net/sourceforge/pmd/AbstractRule.java +++ b/pmd/src/net/sourceforge/pmd/AbstractRule.java @@ -409,7 +409,7 @@ public abstract class AbstractRule extends JavaParserVisitorAdapter implements R /** * Adds a violation to the report. * - * @param ctx the RuleContext + * @param data the RuleContext * @param node the node that produces the violation * @param embed a variable to embed in the rule violation message */ @@ -421,7 +421,7 @@ public abstract class AbstractRule extends JavaParserVisitorAdapter implements R /** * Adds a violation to the report. * - * @param ctx the RuleContext + * @param data the RuleContext * @param node the node that produces the violation, may be null, in which case all line and column info will be set to zero * @param args objects to embed in the rule violation message */