forked from phoedos/pmd
Deprecate RuleViolationFactory impls
Internal APIs
This commit is contained in:
@ -7,11 +7,14 @@ package net.sourceforge.pmd.lang.ecmascript.rule;
|
||||
import net.sourceforge.pmd.Rule;
|
||||
import net.sourceforge.pmd.RuleContext;
|
||||
import net.sourceforge.pmd.RuleViolation;
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.ecmascript.ast.EcmascriptNode;
|
||||
import net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory;
|
||||
import net.sourceforge.pmd.lang.rule.ParametricRuleViolation;
|
||||
|
||||
@Deprecated
|
||||
@InternalApi
|
||||
public final class EcmascriptRuleViolationFactory extends AbstractRuleViolationFactory {
|
||||
|
||||
public static final EcmascriptRuleViolationFactory INSTANCE = new EcmascriptRuleViolationFactory();
|
||||
@ -27,7 +30,7 @@ public final class EcmascriptRuleViolationFactory extends AbstractRuleViolationF
|
||||
|
||||
@Override
|
||||
protected RuleViolation createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message,
|
||||
int beginLine, int endLine) {
|
||||
int beginLine, int endLine) {
|
||||
return null; // FIXME
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user