You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hl...@apache.org on 2003/10/21 17:14:12 UTC
cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl ShutdownCoordinator.java
hlship 2003/10/21 08:14:12
Modified: hivemind/framework/src/java/org/apache/commons/hivemind/impl
ShutdownCoordinator.java
Log:
Remove unnecessary synchronization in ShutdownCoordinator.
Revision Changes Path
1.3 +4 -2 jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ShutdownCoordinator.java
Index: ShutdownCoordinator.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ShutdownCoordinator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ShutdownCoordinator.java 12 Oct 2003 10:13:52 -0000 1.2
+++ ShutdownCoordinator.java 21 Oct 2003 15:14:11 -0000 1.3
@@ -86,7 +86,7 @@
_listenerList.addListener(s);
}
- public synchronized void shutdown()
+ public void shutdown()
{
if (_listenerList == null)
return;
@@ -101,6 +101,8 @@
shutdown(s);
}
+
+ _listenerList = null;
}
private void shutdown(RegistryShutdownListener s)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org