mirror of https://github.com/apache/maven.git
comment on multithreading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6e544a5643
commit
fc244926ca
|
@ -48,6 +48,10 @@ public class DefaultMavenRealmManager
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//mkleint: the clearing is fine for sequenced operations. Even though the
|
||||||
|
// MavenRealmManager is associated with request, the paralel execution will
|
||||||
|
// eventualy fail as the ClassWorld and PlexusContainer are not meant for
|
||||||
|
// multithreaded environment.
|
||||||
public void clear()
|
public void clear()
|
||||||
{
|
{
|
||||||
Collection realms = new HashSet( world.getRealms() );
|
Collection realms = new HashSet( world.getRealms() );
|
||||||
|
|
Loading…
Reference in New Issue