changed the analyzer to use the actual file name rather then the display name

Former-commit-id: 9cc348aaef8fac5e6c64220d94428f168ea8855b
This commit is contained in:
Jeremy Long
2014-10-25 08:05:01 -04:00
parent 06060a6694
commit 885c890d7d

View File

@@ -73,7 +73,7 @@ public class FileNameAnalyzer extends AbstractAnalyzer implements Analyzer {
public void analyze(Dependency dependency, Engine engine) throws AnalysisException {
//strip any path information that may get added by ArchiveAnalyzer, etc.
final File f = new File(dependency.getFileName());
final File f = dependency.getActualFile();
String fileName = f.getName();
//remove file extension