mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-17 23:04:07 +01:00
PMD fixes
Former-commit-id: 24dbeed70898d25700ab6ea9a2951ba2aac641fc
This commit is contained in:
@@ -334,7 +334,7 @@ public class DatabaseUpdater implements CachedWebDataSource {
|
|||||||
FileUtils.delete(f);
|
FileUtils.delete(f);
|
||||||
|
|
||||||
//this importer also updates the CPE index and it is also using an old version
|
//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();
|
final File cpeDir = cpeid.getDataDirectory();
|
||||||
FileUtils.delete(cpeDir);
|
FileUtils.delete(cpeDir);
|
||||||
return currentlyPublished;
|
return currentlyPublished;
|
||||||
|
|||||||
Reference in New Issue
Block a user