PMD fixes

Former-commit-id: f34bcaff389cbfbcaa2e6b2244be3fbe16d01b52
This commit is contained in:
Jeremy Long
2013-04-18 07:00:33 -04:00
parent e24a62d621
commit 91ab257eb6

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;