mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-16 00:33:46 +01:00
spelling fixes
Former-commit-id: 1909bc5b30b2dfd4ece5c880aace9ca4fd830b48
This commit is contained in:
@@ -38,14 +38,14 @@ public final class CweDB {
|
||||
//empty
|
||||
}
|
||||
/**
|
||||
* A hashmap of the CWE data.
|
||||
* A HashMap of the CWE data.
|
||||
*/
|
||||
private static final HashMap<String, String> CWE = loadData();
|
||||
|
||||
/**
|
||||
* Loads a hashmap containing the CWE data from a resource found in the jar.
|
||||
* Loads a HashMap containing the CWE data from a resource found in the jar.
|
||||
*
|
||||
* @return a hashmap of CWE data
|
||||
* @return a HashMap of CWE data
|
||||
*/
|
||||
private static HashMap<String, String> loadData() {
|
||||
ObjectInputStream oin = null;
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
public class CweHandler extends DefaultHandler {
|
||||
|
||||
/**
|
||||
* a hashmap containing the CWE data.
|
||||
* a HashMap containing the CWE data.
|
||||
*/
|
||||
private HashMap<String, String> cwe = new HashMap<String, String>();
|
||||
|
||||
|
||||
@@ -165,8 +165,7 @@ public class DatabaseUpdater implements CachedWebDataSource {
|
||||
*
|
||||
* @param file the file containing the NVD CVE XML
|
||||
* @param oldVersion contains the file containing the NVD CVE XML 1.2
|
||||
* @throws ParserConfigurationException is thrown if there is a
|
||||
* parserconfigurationexception
|
||||
* @throws ParserConfigurationException is thrown if there is a parser configuration exception
|
||||
* @throws SAXException is thrown if there is a saxexception
|
||||
* @throws IOException is thrown if there is a ioexception
|
||||
* @throws SQLException is thrown if there is a sql exception
|
||||
|
||||
Reference in New Issue
Block a user