diff --git a/pmd-netbeans/libsrc/org/netbeans/modules/pmd/rules/ForeignBundleCodeRule.java b/pmd-netbeans/libsrc/org/netbeans/modules/pmd/rules/ForeignBundleCodeRule.java index 8cb4794cff..081d7e2760 100644 --- a/pmd-netbeans/libsrc/org/netbeans/modules/pmd/rules/ForeignBundleCodeRule.java +++ b/pmd-netbeans/libsrc/org/netbeans/modules/pmd/rules/ForeignBundleCodeRule.java @@ -107,6 +107,8 @@ public class ForeignBundleCodeRule extends AbstractRule { } /** checks if symbol in name matches to class definition encapsulating node + * + * TODO also check is getClass() is used in non-private method. */ private boolean isCorrectClass (ASTPrimaryExpression node, ASTClassOrInterfaceType name) { if (name == null || name.getImage() == null)