mirror of https://github.com/apache/archiva.git
Eliminating duplicate repositories from showing up after the conversion.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e799f29dc2
commit
54207afb87
|
@ -153,6 +153,9 @@ public class DefaultArchivaConfiguration
|
||||||
config.addRemoteRepository( repo );
|
config.addRemoteRepository( repo );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent duplicate repositories from showing up.
|
||||||
|
config.getRepositories().clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Normalize the order fields in the proxy connectors.
|
// Normalize the order fields in the proxy connectors.
|
||||||
|
@ -279,7 +282,7 @@ public class DefaultArchivaConfiguration
|
||||||
{
|
{
|
||||||
( (Initializable) registry ).initialize();
|
( (Initializable) registry ).initialize();
|
||||||
|
|
||||||
for ( RegistryListener regListener: registryListeners )
|
for ( RegistryListener regListener : registryListeners )
|
||||||
{
|
{
|
||||||
addRegistryChangeListener( regListener );
|
addRegistryChangeListener( regListener );
|
||||||
}
|
}
|
||||||
|
@ -352,7 +355,6 @@ public class DefaultArchivaConfiguration
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void initialize()
|
public void initialize()
|
||||||
throws InitializationException
|
throws InitializationException
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue