forked from phoedos/pmd
fix pmd violation
This commit is contained in:
@ -14,7 +14,7 @@ public class JUnitSpellingRule extends AbstractJUnitRule {
|
|||||||
@Override
|
@Override
|
||||||
public Object visit(ASTMethodDeclaration node, Object data) {
|
public Object visit(ASTMethodDeclaration node, Object data) {
|
||||||
ASTCompilationUnit acu = node.getFirstParentOfType(ASTCompilationUnit.class);
|
ASTCompilationUnit acu = node.getFirstParentOfType(ASTCompilationUnit.class);
|
||||||
if (isJUnit5Class(acu) || (isJUnit4Class(acu))) {
|
if (isJUnit5Class(acu) || isJUnit4Class(acu)) {
|
||||||
return super.visit(node, data);
|
return super.visit(node, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user