mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-23 16:58:50 +02:00
javadoc update
This commit is contained in:
@@ -42,7 +42,6 @@ import static org.owasp.dependencycheck.data.nvdcve.CveDB.PreparedStatementCveDb
|
||||
|
||||
//CSOFF: AvoidStarImport
|
||||
//CSON: AvoidStarImport
|
||||
|
||||
/**
|
||||
* The database holding information about the NVD CVE data. This class is safe
|
||||
* to be accessed from multiple threads in parallel, however internally only one
|
||||
@@ -502,6 +501,7 @@ public final class CveDB implements AutoCloseable {
|
||||
* the code.
|
||||
* <p>
|
||||
* It should be also called when DB is closed.
|
||||
* </p>
|
||||
*/
|
||||
private synchronized void clearCache() {
|
||||
vulnerabilitiesForCpeCache.clear();
|
||||
@@ -846,7 +846,8 @@ public final class CveDB implements AutoCloseable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes batch inserts of vulnerabilities when property database.batchinsert.maxsize is reached
|
||||
* Executes batch inserts of vulnerabilities when property
|
||||
* database.batchinsert.maxsize is reached
|
||||
*
|
||||
* @param pVulnerability
|
||||
* @param pVulnerableSoftware
|
||||
@@ -1037,6 +1038,7 @@ public final class CveDB implements AutoCloseable {
|
||||
* This method is only referenced in unused code.
|
||||
* <p>
|
||||
* Deletes unused dictionary entries from the database.
|
||||
* </p>
|
||||
*/
|
||||
public synchronized void deleteUnusedCpe() {
|
||||
clearCache();
|
||||
@@ -1056,6 +1058,7 @@ public final class CveDB implements AutoCloseable {
|
||||
* MySQL if ever used due to the MERGE statement.
|
||||
* <p>
|
||||
* Merges CPE entries into the database.
|
||||
* </p>
|
||||
*
|
||||
* @param cpe the CPE identifier
|
||||
* @param vendor the CPE vendor
|
||||
|
||||
Reference in New Issue
Block a user