aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-base/archiva-proxy
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-08-03 14:33:35 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-08-03 14:33:35 +0000
commit480a2b7872548dc126dbff069a4a82bdf35f6b5a (patch)
tree16416eb0b9637c265f45109d2b7d9d922de3f760 /archiva-base/archiva-proxy
parentded6d2666e041d42a5223370e2883fa21f772382 (diff)
downloadarchiva-480a2b7872548dc126dbff069a4a82bdf35f6b5a.tar.gz
archiva-480a2b7872548dc126dbff069a4a82bdf35f6b5a.zip
Correcting whitelist handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-base/archiva-proxy')
-rw-r--r--archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java2
1 files changed, 1 insertions, 1 deletions
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 )