Skip to content

Commit

Permalink
Updated variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
roghughe committed Mar 4, 2014
1 parent 58f88ad commit d67cdc5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class FileValidator implements Validator {
private FileAgeValidator fileAgeValidator;

@Autowired
private Results report;
private Results results;

/**
* @see com.captaindebug.errortrack.file.FileFoundHandler#foundFile(java.io.File)
Expand All @@ -68,11 +68,11 @@ public <T> boolean validate(T obj) {
boolean retVal = false;
File file = (File) obj;
if (fileAgeValidator.validate(file)) {
report.addFile(file.getPath());
results.addFile(file.getPath());
checkFile(file);
retVal = true;

report.generate(formatter, publisher);
results.generate(formatter, publisher);
}
return retVal;
}
Expand Down Expand Up @@ -115,7 +115,7 @@ private int processLine(String line, String filePath, int lineNumber, BufferedRe
List<String> lines = new ArrayList<String>();
lines.add(line);
addExtraDetailLines(in, lines);
report.addResult(filePath, lineNumber, lines);
results.addResult(filePath, lineNumber, lines);
lineNumber += extraLineCount;
}

Expand Down

0 comments on commit d67cdc5

Please sign in to comment.