private void setVulnerabilityName ( String parentName , Dependency dependency , Vulnerability vulnerability , String nextLine ) { final String advisory = nextLine . substring ( ADVISORY . length ( ) ) ; if ( null != vulnerability ) { vulnerability . setName ( advisory ) ; } if ( null != dependency ) { dependency . addVulnerability ( vulnerability ) ; } LOGGER . debug ( "bundle-audit ({}): {}" , parentName , nextLine ) ; }
Sets the vulnerability name .