mirror of https://github.com/apache/archiva.git
copy Collection to avoid ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
623651c5fb
commit
06a1782dcd
|
@ -115,7 +115,8 @@ public class DefaultRemoteRepositoryAdmin
|
|||
|
||||
// TODO use ProxyConnectorAdmin interface ?
|
||||
// [MRM-520] Proxy Connectors are not deleted with the deletion of a Repository.
|
||||
List<ProxyConnectorConfiguration> proxyConnectors = configuration.getProxyConnectors();
|
||||
List<ProxyConnectorConfiguration> proxyConnectors =
|
||||
new ArrayList<ProxyConnectorConfiguration>( configuration.getProxyConnectors() );
|
||||
for ( ProxyConnectorConfiguration proxyConnector : proxyConnectors )
|
||||
{
|
||||
if ( StringUtils.equals( proxyConnector.getTargetRepoId(), repositoryId ) )
|
||||
|
|
Loading…
Reference in New Issue