git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2007-02-12 05:47:16 +00:00
parent 3b6c681194
commit 45038c7c56
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@
for ( java.util.Iterator i = getRepositories().iterator(); i.hasNext(); )
{
RepositoryConfiguration repository = (RepositoryConfiguration) i.next();
if ( urlName.equals( repository.getUrlName() ) )
if ( urlName != null ? !urlName.equals( repository.getUrlName() ) : repository.getUrlName() != null )
{
return repository;
}