Minor code cleanup

This commit is contained in:
Kirk Clemens
2018-03-09 23:22:49 -06:00
parent d94ff95db8
commit d0ba8998e7

View File

@@ -32,7 +32,7 @@ public class UseUtilityClassRule extends AbstractLombokAwareRule {
// check if there's a lombok no arg private constructor, if so skip the rest of the rules
if (hasClassLombokAnnotation()) {
ASTAnnotation annotation = getLombokAnnotation(decl.jjtGetParent(), "NoArgsConstructor");
ASTAnnotation annotation = getLombokAnnotation(parent, "NoArgsConstructor");
if (annotation != null) {