mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 18:11:47 +01:00
PMD fixes
Former-commit-id: f34bcaff389cbfbcaa2e6b2244be3fbe16d01b52
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