spelling fixes

Former-commit-id: 1909bc5b30b2dfd4ece5c880aace9ca4fd830b48
This commit is contained in:
Jeremy Long
2013-05-09 19:49:25 -04:00
parent a70cbcc9d3
commit a1c7612a85
10 changed files with 13 additions and 14 deletions

View File

@@ -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;

View File

@@ -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>();

View File

@@ -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