diff --git a/src/main/java/com/cflint/plugins/core/ComponentLengthChecker.java b/src/main/java/com/cflint/plugins/core/ComponentLengthChecker.java index 786051681..ab5355346 100644 --- a/src/main/java/com/cflint/plugins/core/ComponentLengthChecker.java +++ b/src/main/java/com/cflint/plugins/core/ComponentLengthChecker.java @@ -21,9 +21,11 @@ public class ComponentLengthChecker extends CFLintScannerAdapter { final int LENGTH_THRESHOLD = 500; final String severity = "INFO"; + @Override public void expression(final CFExpression expression, final Context context, final BugList bugs) { } + @Override public void expression(final CFScriptStatement expression, final Context context, final BugList bugs) { if (expression instanceof CFCompoundStatement) { CFCompoundStatement component = (CFCompoundStatement) expression; @@ -34,6 +36,7 @@ public void expression(final CFScriptStatement expression, final Context context } } + @Override public void element(final Element element, final Context context, final BugList bugs) { String elementName = element.getName(); diff --git a/src/main/java/com/cflint/plugins/core/FunctionLengthChecker.java b/src/main/java/com/cflint/plugins/core/FunctionLengthChecker.java index e256af128..d6e6dabd0 100644 --- a/src/main/java/com/cflint/plugins/core/FunctionLengthChecker.java +++ b/src/main/java/com/cflint/plugins/core/FunctionLengthChecker.java @@ -21,9 +21,11 @@ public class FunctionLengthChecker extends CFLintScannerAdapter { final int LENGTH_THRESHOLD = 100; final String severity = "INFO"; + @Override public void expression(final CFExpression expression, final Context context, final BugList bugs) { } + @Override public void expression(final CFScriptStatement expression, final Context context, final BugList bugs) { if (expression instanceof CFFuncDeclStatement) { CFFuncDeclStatement function = (CFFuncDeclStatement) expression; @@ -36,6 +38,7 @@ public void expression(final CFScriptStatement expression, final Context context } } + @Override public void element(final Element element, final Context context, final BugList bugs) { String elementName = element.getName();