]> source.dussan.org Git - archiva.git/commitdiff
cache not found consistently between checksums and regular files
authorBrett Porter <brett@apache.org>
Tue, 1 Jul 2008 22:52:48 +0000 (22:52 +0000)
committerBrett Porter <brett@apache.org>
Tue, 1 Jul 2008 22:52:48 +0000 (22:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673224 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java

index 1954f827dea29a9f5cabe6f879b44e75fbfb1c14..36cccd26fc39ba2a73d1c9b487da7371920b001c 100644 (file)
@@ -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();