core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveItemOperator.java
/**
     * Extracts the english description from the CVE object.
     *
     * @param cve the CVE data
     * @return the English descriptions from the CVE object
     */
Extracts the english description from the CVE object.
@param cve the CVE data
@return the English descriptions from the CVE object
Extracts the english description from the CVE object . @param cve the CVE data @return the English descriptions from the CVE object
public String extractDescription(DefCveItem cve) {
        return cve.getCve().getDescription().getDescriptionData().stream().filter((desc)
                -> "en".equals(desc.getLang())).map(d
                -> d.getValue()).collect(Collectors.joining(" "));
    }
public String extractDescription ( DefCveItem cve ) { return cve . getCve ( ) . getDescription ( ) . getDescriptionData ( ) . stream ( ) . filter ( ( desc ) -> "en" . equals ( desc . getLang ( ) ) ) . map ( d -> d . getValue ( ) ) . collect ( Collectors . joining ( " " ) ) ; }
Extracts the english description from the CVE object.
Extracts the english description from the CVE object .