this.profile = profile;
this.exporter = exporter;
this.javaResourceLocator = javaResourceLocator;
}
public File getTargetXMLReport() {
<BUG>return new File(fileSystem.workingDir(), "findbugs-result.xml");
}</BUG>
public edu.umd.cs.findbugs.Project getFindbugsProject() throws IOException {
edu.umd.cs.findbugs.Project findbugsProject = new edu.umd.cs.findbugs.Project();
<BUG>for (File dir : fileSystem.sourceDirs()) {
findbugsProject.addSourceDir(dir.getAbsolutePath());
</BUG>
}

this.profile = profile;
this.exporter = exporter;
this.javaResourceLocator = javaResourceLocator;
}
public File getTargetXMLReport() {
return new File(fileSystem.workDir(), "findbugs-result.xml");
}
public edu.umd.cs.findbugs.Project getFindbugsProject() throws IOException {
edu.umd.cs.findbugs.Project findbugsProject = new edu.umd.cs.findbugs.Project();
for (File file : getSourceFiles()) {
findbugsProject.addFile(file.getAbsolutePath());
}
