From: Brett Porter Date: Tue, 1 Jul 2008 22:52:48 +0000 (+0000) Subject: cache not found consistently between checksums and regular files X-Git-Tag: archiva-r676265~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45fba2c2166c13701243f4f97228858da79b3066;p=archiva.git cache not found consistently between checksums and regular files git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673224 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java index 1954f827d..36cccd26f 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -651,6 +651,7 @@ public class DefaultRepositoryProxyConnectors } catch ( NotFoundException e ) { + urlFailureCache.cacheFailure( url + type ); log.debug( "Transfer failed, checksum not found: " + url ); // Consume it, do not pass this on. } @@ -1081,8 +1082,7 @@ public class DefaultRepositoryProxyConnectors { this.networkProxyMap.clear(); - List networkProxies = archivaConfiguration.getConfiguration() - .getNetworkProxies(); + List networkProxies = archivaConfiguration.getConfiguration().getNetworkProxies(); for ( NetworkProxyConfiguration networkProxyConfig : networkProxies ) { String key = networkProxyConfig.getId();