From 9a2a420041e0bf0a9508f7fc8dda7be4d93230fa Mon Sep 17 00:00:00 2001 From: Justin Mclean Date: Mon, 28 Sep 2015 20:15:00 +1000 Subject: [PATCH] Remove debug statements --- src/main/java/com/cflint/plugins/core/ArgTypeChecker.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/cflint/plugins/core/ArgTypeChecker.java b/src/main/java/com/cflint/plugins/core/ArgTypeChecker.java index 2a62abb0f..5594abb9d 100644 --- a/src/main/java/com/cflint/plugins/core/ArgTypeChecker.java +++ b/src/main/java/com/cflint/plugins/core/ArgTypeChecker.java @@ -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.")