mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +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
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Map<String, String> loadData() {
|
||||
final String filePath = "data/cwe.hashmap.serialized";
|
||||
try (InputStream input = FileUtils.getResourceAsStream(filePath);
|
||||
|
||||
Reference in New Issue
Block a user