Skip to content

Commit

Permalink
style: make checkstyle happier
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Nov 4, 2023
1 parent fc8350c commit 174835a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ private int updateOrInsertVulnerability(DefCveItem cve, String description) {
* @throws SQLException thrown if there is an error inserting the data
*/
private void updateVulnerabilityInsertCwe(int vulnerabilityId, DefCveItem cve) throws SQLException {
if (cve.getCve() != null && cve.getCve().getWeaknesses() != null){
if (cve.getCve() != null && cve.getCve().getWeaknesses() != null) {
try (Connection conn = databaseManager.getConnection();
PreparedStatement insertCWE = getPreparedStatement(conn, INSERT_CWE, vulnerabilityId)) {
for (Weakness weakness : cve.getCve().getWeaknesses()) {
Expand Down

0 comments on commit 174835a

Please sign in to comment.