summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2008-07-01 22:52:48 +0000
committerBrett Porter <brett@apache.org>2008-07-01 22:52:48 +0000
commit45fba2c2166c13701243f4f97228858da79b3066 (patch)
tree930ae8ff458c81973cb53d7731395ca50b27f77e
parenteaa81fa1d996f0aee845c0d7c9b86bf99778ba94 (diff)
downloadarchiva-45fba2c2166c13701243f4f97228858da79b3066.tar.gz
archiva-45fba2c2166c13701243f4f97228858da79b3066.zip
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
-rw-r--r--archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java4
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();