PMD fixes

Former-commit-id: 24dbeed70898d25700ab6ea9a2951ba2aac641fc
This commit is contained in:
Jeremy Long
2013-04-18 07:00:33 -04:00
parent 28180267e4
commit dc1e30bf39

View File

@@ -334,7 +334,7 @@ public class DatabaseUpdater implements CachedWebDataSource {
FileUtils.delete(f);
//this importer also updates the CPE index and it is also using an old version
final org.owasp.dependencycheck.data.cpe.Index cpeid = new org.owasp.dependencycheck.data.cpe.Index();
final Index cpeid = new Index();
final File cpeDir = cpeid.getDataDirectory();
FileUtils.delete(cpeDir);
return currentlyPublished;