forked from phoedos/pmd
Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/codestyle/ClassNamingConventionsRule.java
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
This commit is contained in:
parent
a395bd78c8
commit
2da3ac2cc8
@ -73,7 +73,7 @@ public class ClassNamingConventionsRule extends AbstractNamingConventionsRule {
|
||||
|
||||
@Override
|
||||
public Object visit(ASTUserInterface node, Object data) {
|
||||
if(node.getParent() != null && node.getParent() instanceof ASTUserClassOrInterface) {
|
||||
if (node.getParent() instanceof ASTUserClassOrInterface) {
|
||||
checkMatches(INNER_INTERFACE_REGEX, node, data);
|
||||
} else {
|
||||
checkMatches(INTERFACE_REGEX, node, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user