From 480a2b7872548dc126dbff069a4a82bdf35f6b5a Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Fri, 3 Aug 2007 14:33:35 +0000 Subject: [PATCH] Correcting whitelist handling. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562477 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/proxy/DefaultRepositoryProxyConnectors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java index 11c94e2f5..72d206fba 100644 --- a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -726,7 +726,7 @@ public class DefaultRepositoryProxyConnectors return true; } - return collection.isEmpty(); + return collection.size() == 0; } private ArchivaRepository getRepository( String repoId )