mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 02:51:27 +01:00
suppressed unchecked warning on cast
This commit is contained in:
@@ -54,6 +54,7 @@ public final class CweDB {
|
|||||||
*
|
*
|
||||||
* @return a HashMap of CWE data
|
* @return a HashMap of CWE data
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
private static Map<String, String> loadData() {
|
private static Map<String, String> loadData() {
|
||||||
final String filePath = "data/cwe.hashmap.serialized";
|
final String filePath = "data/cwe.hashmap.serialized";
|
||||||
try (InputStream input = FileUtils.getResourceAsStream(filePath);
|
try (InputStream input = FileUtils.getResourceAsStream(filePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user