[MRM-394] default remote repositories central, java.net are not available in remote repositories list

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Fabrice Bellingard 2007-06-01 10:13:29 +00:00
parent 161bad1243
commit 6cc21f2daf
1 changed files with 3 additions and 2 deletions

View File

@ -40,6 +40,7 @@ import org.codehaus.plexus.registry.Registry;
import org.codehaus.plexus.registry.RegistryListener;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@ -175,9 +176,9 @@ public class RepositoryProjectModelResolverFactory
resolverMap.clear();
List configRepos = archivaConfiguration.getConfiguration().getRepositories();
CollectionUtils.filter( configRepos, LocalRepositoryPredicate.getInstance() );
Collection configLocalRepos = CollectionUtils.select( configRepos, LocalRepositoryPredicate.getInstance() );
Iterator it = configRepos.iterator();
Iterator it = configLocalRepos.iterator();
while ( it.hasNext() )
{
RepositoryConfiguration repoconfig = (RepositoryConfiguration) it.next();