Skip to content

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmclean committed Sep 28, 2015
1 parent aa0f884 commit 9a2a420
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/cflint/plugins/core/ArgTypeChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ public void expression(final CFScriptStatement expression, final Context context
final String name = argument.getName();
final String variableType = argument.getType();

System.out.println("Function!");

if (variableType == null) {
System.out.println("Missing type");
bugs.add(new BugInfo.BugInfoBuilder().setLine(begLine).setMessageCode("ARG_TYPE_MISSING")
.setSeverity(severity).setFilename(context.getFilename())
.setMessage("Argument " + name + " is missing a type.")
.build());
}
else if (variableType.equals("any")) {
System.out.println("Type is any");
bugs.add(new BugInfo.BugInfoBuilder().setLine(begLine).setMessageCode("ARG_TYPE_ANY")
.setSeverity(severity).setFilename(context.getFilename())
.setMessage("Argument " + name + " is any. Please change to be the correct type.")
Expand Down

0 comments on commit 9a2a420

Please sign in to comment.