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