Comment fix

This commit is contained in:
Trustin Lee 2010-02-19 09:18:10 +00:00
parent 28bac1978f
commit b97648f95e
2 changed files with 4 additions and 4 deletions

View File

@ -348,8 +348,8 @@ public class DefaultChannelFuture implements ChannelFuture {
// This method doesn't need synchronization because:
// 1) This method is always called after synchronized (this) block.
// Hence any listener list modification happens-before this method.
// 2) This method is only when 'done' is true. If 'done' is true,
// the listener list is never modified - see add/removeListener().
// 2) This method is called only when 'done' is true. Once 'done'
// becomes true, the listener list is never modified - see add/removeListener()
if (firstListener != null) {
notifyListener(firstListener);
firstListener = null;

View File

@ -349,8 +349,8 @@ public class DefaultChannelGroupFuture implements ChannelGroupFuture {
// This method doesn't need synchronization because:
// 1) This method is always called after synchronized (this) block.
// Hence any listener list modification happens-before this method.
// 2) This method is only when 'done' is true. If 'done' is true,
// the listener list is never modified - see add/removeListener().
// 2) This method is called only when 'done' is true. Once 'done'
// becomes true, the listener list is never modified - see add/removeListener()
if (firstListener != null) {
notifyListener(firstListener);
firstListener = null;