Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmclean committed Oct 16, 2015
1 parent be6ddbe commit 05ea8ad
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ else if (expression instanceof CFIdentifier) {
}

public void checkNameForBugs(String variable, String filename, int line, BugList bugs) {
System.out.println("Var:" + variable);

if (isInvalid(variable)) {
System.out.println("isInvalid : " + variable);
bugs.add(new BugInfo.BugInfoBuilder().setLine(line).setMessageCode("VAR_INVALID_NAME")
.setSeverity(severity).setFilename(filename)
.setMessage("Variable " + variable + " is not a valid name. Please use CamelCase or underscores.")
Expand Down Expand Up @@ -96,7 +93,6 @@ public void checkNameForBugs(String variable, String filename, int line, BugList
.build());
}
if (hasPrefixOrPostfix(variable)) {
System.out.println("hasPrefixOrPostfix : " + variable);
bugs.add(new BugInfo.BugInfoBuilder().setLine(line).setMessageCode("VAR_HAS_PREFIX_OR_POSTFIX")
.setSeverity(severity).setFilename(filename)
.setMessage("Variable has prefix or postfix " + variable + " and could be named better.")
Expand Down

0 comments on commit 05ea8ad

Please sign in to comment.