diff --git a/main/apiplugins/io.sarl.core/src/main/sarl/io/sarl/core/OpenEventSpace.sarl b/main/apiplugins/io.sarl.core/src/main/sarl/io/sarl/core/OpenEventSpace.sarl index 9f1d768573..0d68c6b009 100644 --- a/main/apiplugins/io.sarl.core/src/main/sarl/io/sarl/core/OpenEventSpace.sarl +++ b/main/apiplugins/io.sarl.core/src/main/sarl/io/sarl/core/OpenEventSpace.sarl @@ -54,12 +54,12 @@ interface OpenEventSpace extends EventSpace { * @param participant the participant to register. * @param weakParticipant indicates to the space that the given participant could be considered as a weak participant. * A Weak participant will not prevent the space from begin destroyed if it is the only one staying in it, a Strong participant will prevent the space destruction. - * A space containing only Weak participants will be destroyed by the SRE Kernel + * A space containing only Weak participants will be destroyed by the SRE Kernel. The default value is {@ode false}. * @return the entity's address in this space * @fires ParticipantJoined in its enclosing Context default space. * @since 0.11 */ - def register(participant : EventListener, weakParticipant : boolean = true) : Address fires ParticipantJoined + def register(participant : EventListener, weakParticipant : boolean = false) : Address fires ParticipantJoined /** * Unregisters the entity inside this space. diff --git a/tests/io.sarl.sre.test.framework/src/main/sarl/io/sarl/sre/test/framework/context/SreRunContext.sarl b/tests/io.sarl.sre.test.framework/src/main/sarl/io/sarl/sre/test/framework/context/SreRunContext.sarl index 842cd632bc..baa3eeb99b 100644 --- a/tests/io.sarl.sre.test.framework/src/main/sarl/io/sarl/sre/test/framework/context/SreRunContext.sarl +++ b/tests/io.sarl.sre.test.framework/src/main/sarl/io/sarl/sre/test/framework/context/SreRunContext.sarl @@ -666,7 +666,6 @@ class SreRunContext { def waitForAgentKilled(identifiers : UUID[], ^space : OpenEventSpace = null, code : ()=>void = null) : Wait { val lock = new ConcurrentSkipListSet(identifiers) onAgentKilled(^space) [ - System.out.println("killed: " + it.source.UUID) lock.remove(it.source.UUID) ] val w = new CollectionWait(lock, this.directFailureCause)