Skip to content

Commit

Permalink
add missing override annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmclean committed Oct 11, 2015
1 parent c9628ae commit 5518d5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();

Expand Down

0 comments on commit 5518d5a

Please sign in to comment.