diff options
-rw-r--r-- | archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<NetworkProxyConfiguration> networkProxies = archivaConfiguration.getConfiguration() - .getNetworkProxies(); + List<NetworkProxyConfiguration> networkProxies = archivaConfiguration.getConfiguration().getNetworkProxies(); for ( NetworkProxyConfiguration networkProxyConfig : networkProxies ) { String key = networkProxyConfig.getId(); |