dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ComposerLockAnalyzer.java
/**
     * Initializes the analyzer.
     *
     * @throws InitializationException thrown if an exception occurs getting an
     * instance of SHA1
     */
Initializes the analyzer.
@throws InitializationException thrown if an exception occurs getting an
instance of SHA1
Initializes the analyzer . @throws InitializationException thrown if an exception occurs getting an instance of SHA1
@Override
    protected void initializeFileTypeAnalyzer() throws InitializationException {
        try {
            getSha1MessageDigest();
        } catch (IllegalStateException ex) {
            setEnabled(false);
            throw new InitializationException("Unable to create SHA1 MessageDigest", ex);
        }
    }
@ Override protected void initializeFileTypeAnalyzer ( ) throws InitializationException { try { getSha1MessageDigest ( ) ; } catch ( IllegalStateException ex ) { setEnabled ( false ) ; throw new InitializationException ( "Unable to create SHA1 MessageDigest" , ex ) ; } }
Initializes the analyzer.
Initializes the analyzer .