public LinkValidationResult getCachedResult()

in src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java [286:305]


    public LinkValidationResult getCachedResult( LinkValidationItem lvi )
    {
        for ( LinkValidator lv :  getValidators() )
        {
            Object resourceKey = lv.getResourceKey( lvi );

            if ( resourceKey != null && this.cache.containsKey( resourceKey ) )
            {
                if ( LOG.isDebugEnabled() )
                {
                    LOG.debug( "The cache returns for [" + resourceKey + "] the result ["
                        + this.cache.get( resourceKey ) + "]." );
                }

                return this.cache.get( resourceKey );
            }
        }

        return null;
    }