java7 updates and cleanup

This commit is contained in:
Jeremy Long
2017-03-10 15:30:48 -05:00
parent 32590ab7ff
commit 046f4605f9
71 changed files with 214 additions and 207 deletions

View File

@@ -942,7 +942,7 @@ public class Check extends Update {
}
}
DatabaseProperties prop = null;
CveDB cve = null;
CveDB cve;
try {
cve = CveDB.getInstance();
prop = cve.getDatabaseProperties();

View File

@@ -95,6 +95,12 @@ public class Purge extends Task {
this.failOnError = failOnError;
}
/**
* Executes the dependency-check purge to delete the existing local copy of
* the NVD CVE data.
*
* @throws BuildException thrown if there is a problem deleting the file(s)
*/
@Override
public void execute() throws BuildException {
populateSettings();