]> source.dussan.org Git - archiva.git/commitdiff
Correcting whitelist handling.
authorJoakim Erdfelt <joakime@apache.org>
Fri, 3 Aug 2007 14:33:35 +0000 (14:33 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Fri, 3 Aug 2007 14:33:35 +0000 (14:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562477 13f79535-47bb-0310-9956-ffa450edef68

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

index 11c94e2f5575bc190e1d43b3c97269e6a848ea33..72d206fbabf4fc189d95907245ea7855618e6d4e 100644 (file)
@@ -726,7 +726,7 @@ public class DefaultRepositoryProxyConnectors
             return true;
         }
 
-        return collection.isEmpty();
+        return collection.size() == 0;
     }
 
     private ArchivaRepository getRepository( String repoId )