moved properties to DB, minor change to API to support this

Former-commit-id: ffbf3e53a75fc633d9bf8c74c40ea41154a2f4c4
This commit is contained in:
Jeremy Long
2014-01-03 09:02:08 -05:00
parent 2808ca139c
commit a47280f47b

View File

@@ -18,6 +18,7 @@
*/ */
package org.owasp.dependencycheck.data.update; package org.owasp.dependencycheck.data.update;
import org.owasp.dependencycheck.data.nvdcve.DatabaseProperties;
import java.io.File; import java.io.File;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
@@ -79,9 +80,9 @@ public class ProcessTask implements Callable<ProcessTask> {
/** /**
* A reference to the properties. * A reference to the properties.
*/ */
private final DataStoreMetaInfo properties; private final DatabaseProperties properties;
public ProcessTask(final CveDB cveDB, final DataStoreMetaInfo properties, final CallableDownloadTask filePair) { public ProcessTask(final CveDB cveDB, final DatabaseProperties properties, final CallableDownloadTask filePair) {
this.cveDB = cveDB; this.cveDB = cveDB;
this.filePair = filePair; this.filePair = filePair;
this.properties = properties; this.properties = properties;