Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Corrected issue with CWE parsing
  • Loading branch information
cx-nuno-oliveira committed Jan 7, 2020
commit f1f025638c0bed70d6fe2b0faed0508c806dc484
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public TestResults parse( File f ) throws Exception {
//cwe
int cwe = query.getJSONObject("Metadata").getInt("CweId");
try{
cwe = translate( Integer.parseInt("undefined"));
cwe = translate(cwe);
}
catch(NumberFormatException ex) {
System.out.println( "flaw: " + query );
Expand Down